提交 702a939f 编写于 作者: U unknown

修复日程安排在浏览器上打开的问题

上级 72a0192e
...@@ -86,10 +86,8 @@ var MWFCalendarDayView = MWF.xApplication.Calendar.DayView = new Class({ ...@@ -86,10 +86,8 @@ var MWFCalendarDayView = MWF.xApplication.Calendar.DayView = new Class({
if (this.calendar) this.calendar.reLoadCalendar(); if (this.calendar) this.calendar.reLoadCalendar();
}, },
recordStatus : function(){ recordStatus : function(){
var date = "";
if (this.calendar) date = this.calendar.date;
return { return {
date : date.toString() date : (this.calendar && this.calendar.date) ? this.calendar.date.format( "db" ) : ""
}; };
}, },
destroy: function(){ destroy: function(){
......
...@@ -94,10 +94,8 @@ var MWFCalendarMonthView = MWF.xApplication.Calendar.MonthView = new Class({ ...@@ -94,10 +94,8 @@ var MWFCalendarMonthView = MWF.xApplication.Calendar.MonthView = new Class({
if (this.calendar) this.calendar.reLoadCalendar(); if (this.calendar) this.calendar.reLoadCalendar();
}, },
recordStatus : function(){ recordStatus : function(){
var date = "";
if (this.calendar) date = this.calendar.date;
return { return {
date : date.toString() date : (this.calendar && this.calendar.date) ? this.calendar.date.format( "db" ) : ""
}; };
}, },
destroy: function(){ destroy: function(){
......
...@@ -105,10 +105,8 @@ var MWFCalendarWeekView = MWF.xApplication.Calendar.WeekView = new Class({ ...@@ -105,10 +105,8 @@ var MWFCalendarWeekView = MWF.xApplication.Calendar.WeekView = new Class({
if (this.calendar) this.calendar.reLoadCalendar(); if (this.calendar) this.calendar.reLoadCalendar();
}, },
recordStatus : function(){ recordStatus : function(){
var date = "";
if (this.calendar) date = this.calendar.baseDate;
return { return {
date : date.toString() date : (this.calendar && this.calendar.date) ? this.calendar.date.format( "db" ) : ""
}; };
}, },
destroy: function(){ destroy: function(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册