Changeset 5825

Show
Ignore:
Timestamp:
06/30/08 16:05:48 (2 months ago)
Author:
kinoshita
Message:

5040

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinelz/trunk/compress/javascripts/spinelz/calendar.js

    r5824 r5825  
    14801480if(_1dd.start.hour==_1e6&&_1dd.start.min==_1e7){ 
    14811481this.calendar.refreshSchedule(); 
     1482if(!((_1e5.year==_1e4.year)&&(_1e5.month==_1e4.month)&&(_1e5.day==_1e4.day))){ 
    14821483this.calendar.options.updateTirm(); 
     1484} 
    14831485return; 
    14841486}else{ 
     
    14891491_1dd.finish=_1e5; 
    14901492this.calendar.refreshSchedule(); 
     1493if(!((_1e5.year==_1e4.year)&&(_1e5.month==_1e4.month)&&(_1e5.day==_1e4.day))){ 
    14911494this.calendar.options.updateTirm(_1dd); 
     1495} 
    14921496},getTimeText:function(_1e8,_1e9){ 
    14931497var _1ea=this.calendar; 
     
    20672071} 
    20682072this.calendar.refreshSchedule(); 
     2073if(_2a7.start||_2a7.finish){ 
    20692074this.calendar.options.updateTirm(_2a2); 
     2075} 
    20702076},changeTimeDisplay:function(_2a8){ 
    20712077var _2a9=_2a8.schedule; 
     
    21902196_2e5=false; 
    21912197} 
     2198}else{ 
     2199_2e5=false; 
    21922200} 
    21932201} 
  • spinelz/trunk/compress/javascripts/spinelz/spinelz_for_rubricks.js

    r5824 r5825  
    17901790if(_1dd.start.hour==_1e6&&_1dd.start.min==_1e7){ 
    17911791this.calendar.refreshSchedule(); 
     1792if(!((_1e5.year==_1e4.year)&&(_1e5.month==_1e4.month)&&(_1e5.day==_1e4.day))){ 
    17921793this.calendar.options.updateTirm(); 
     1794} 
    17931795return; 
    17941796}else{ 
     
    17991801_1dd.finish=_1e5; 
    18001802this.calendar.refreshSchedule(); 
     1803if(!((_1e5.year==_1e4.year)&&(_1e5.month==_1e4.month)&&(_1e5.day==_1e4.day))){ 
    18011804this.calendar.options.updateTirm(_1dd); 
     1805} 
    18021806},getTimeText:function(_1e8,_1e9){ 
    18031807var _1ea=this.calendar; 
     
    23772381} 
    23782382this.calendar.refreshSchedule(); 
     2383if(_2a7.start||_2a7.finish){ 
    23792384this.calendar.options.updateTirm(_2a2); 
     2385} 
    23802386},changeTimeDisplay:function(_2a8){ 
    23812387var _2a9=_2a8.schedule; 
     
    25002506_2e5=false; 
    25012507} 
     2508}else{ 
     2509_2e5=false; 
    25022510} 
    25032511} 
  • spinelz/trunk/src/javascripts/spinelz/calendar.js

    r5824 r5825  
    19781978    newFinish.hour = oldFinish.hour; 
    19791979    newFinish.min  = oldFinish.min; 
     1980 
    19801981     
    19811982    if (DateUtil.toDate(schedule.start).getTime() >= DateUtil.toDate(newFinish).getTime()) { 
     
    19841985      if (schedule.start.hour == maxHour && schedule.start.min == maxMin) { 
    19851986        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        } 
    19871990        return; 
    19881991      } else { 
     
    19941997 
    19951998    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    } 
    19972002  }, 
    19982003 
     
    27892794 
    27902795    this.calendar.refreshSchedule(); 
    2791     this.calendar.options.updateTirm(schedule); 
     2796    if (isChange.start || isChange.finish) { 
     2797      this.calendar.options.updateTirm(schedule); 
     2798    } 
    27922799  }, 
    27932800 
     
    29482955          changeStart = false; 
    29492956        } 
     2957      } else { 
     2958        changeStart = false; 
    29502959      } 
    29512960    }