Changeset 5825
- Timestamp:
- 06/30/08 16:05:48 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spinelz/trunk/compress/javascripts/spinelz/calendar.js
r5824 r5825 1480 1480 if(_1dd.start.hour==_1e6&&_1dd.start.min==_1e7){ 1481 1481 this.calendar.refreshSchedule(); 1482 if(!((_1e5.year==_1e4.year)&&(_1e5.month==_1e4.month)&&(_1e5.day==_1e4.day))){ 1482 1483 this.calendar.options.updateTirm(); 1484 } 1483 1485 return; 1484 1486 }else{ … … 1489 1491 _1dd.finish=_1e5; 1490 1492 this.calendar.refreshSchedule(); 1493 if(!((_1e5.year==_1e4.year)&&(_1e5.month==_1e4.month)&&(_1e5.day==_1e4.day))){ 1491 1494 this.calendar.options.updateTirm(_1dd); 1495 } 1492 1496 },getTimeText:function(_1e8,_1e9){ 1493 1497 var _1ea=this.calendar; … … 2067 2071 } 2068 2072 this.calendar.refreshSchedule(); 2073 if(_2a7.start||_2a7.finish){ 2069 2074 this.calendar.options.updateTirm(_2a2); 2075 } 2070 2076 },changeTimeDisplay:function(_2a8){ 2071 2077 var _2a9=_2a8.schedule; … … 2190 2196 _2e5=false; 2191 2197 } 2198 }else{ 2199 _2e5=false; 2192 2200 } 2193 2201 } spinelz/trunk/compress/javascripts/spinelz/spinelz_for_rubricks.js
r5824 r5825 1790 1790 if(_1dd.start.hour==_1e6&&_1dd.start.min==_1e7){ 1791 1791 this.calendar.refreshSchedule(); 1792 if(!((_1e5.year==_1e4.year)&&(_1e5.month==_1e4.month)&&(_1e5.day==_1e4.day))){ 1792 1793 this.calendar.options.updateTirm(); 1794 } 1793 1795 return; 1794 1796 }else{ … … 1799 1801 _1dd.finish=_1e5; 1800 1802 this.calendar.refreshSchedule(); 1803 if(!((_1e5.year==_1e4.year)&&(_1e5.month==_1e4.month)&&(_1e5.day==_1e4.day))){ 1801 1804 this.calendar.options.updateTirm(_1dd); 1805 } 1802 1806 },getTimeText:function(_1e8,_1e9){ 1803 1807 var _1ea=this.calendar; … … 2377 2381 } 2378 2382 this.calendar.refreshSchedule(); 2383 if(_2a7.start||_2a7.finish){ 2379 2384 this.calendar.options.updateTirm(_2a2); 2385 } 2380 2386 },changeTimeDisplay:function(_2a8){ 2381 2387 var _2a9=_2a8.schedule; … … 2500 2506 _2e5=false; 2501 2507 } 2508 }else{ 2509 _2e5=false; 2502 2510 } 2503 2511 } spinelz/trunk/src/javascripts/spinelz/calendar.js
r5824 r5825 1978 1978 newFinish.hour = oldFinish.hour; 1979 1979 newFinish.min = oldFinish.min; 1980 1980 1981 1981 1982 if (DateUtil.toDate(schedule.start).getTime() >= DateUtil.toDate(newFinish).getTime()) { … … 1984 1985 if (schedule.start.hour == maxHour && schedule.start.min == maxMin) { 1985 1986 this.calendar.refreshSchedule(); 1986 this.calendar.options.updateTirm(); 1987 if (!((newFinish.year == oldFinish.year) && (newFinish.month == oldFinish.month) && (newFinish.day == oldFinish.day))) { 1988 this.calendar.options.updateTirm(); 1989 } 1987 1990 return; 1988 1991 } else { … … 1994 1997 1995 1998 this.calendar.refreshSchedule(); 1996 this.calendar.options.updateTirm(schedule); 1999 if (!((newFinish.year == oldFinish.year) && (newFinish.month == oldFinish.month) && (newFinish.day == oldFinish.day))) { 2000 this.calendar.options.updateTirm(schedule); 2001 } 1997 2002 }, 1998 2003 … … 2789 2794 2790 2795 this.calendar.refreshSchedule(); 2791 this.calendar.options.updateTirm(schedule); 2796 if (isChange.start || isChange.finish) { 2797 this.calendar.options.updateTirm(schedule); 2798 } 2792 2799 }, 2793 2800 … … 2948 2955 changeStart = false; 2949 2956 } 2957 } else { 2958 changeStart = false; 2950 2959 } 2951 2960 }
