scheduler._reset_month_scale=function(b,dd,sd){ var ed=scheduler.date.add(dd,1,"month"); //trim time part for comparation reasons var cd=new Date(); this.date.date_part(cd); this.date.date_part(sd); var rows=Math.ceil((ed.valueOf()-sd.valueOf())/(60*60*24*1000*7)); var tdcss=[]; var height=(Math.floor(b.clientHeight/rows)-22); this._colsS.height=height+22; var h = this._colsS.heights = []; for (var i=0; i<=7; i++) tdcss[i]=" style='height:"+height+"px; width:"+((this._cols[i]||0)-1)+"px;' " var cellheight = 0; this._min_date=sd; var html="
=ed)
cls='dhx_after';
else if (sd.valueOf()==cd.valueOf())
cls='dhx_now';
if (sd.valueOf()==cd.valueOf() && holidayTab[aaaammdd])
{
cls = 'dhx_now_holiday';
clstitle = holidayTab[aaaammdd];
}
html+=" class='"+cls+" "+this.templates.month_date_class(sd,cd)+"' ";
html+="> "+this.templates.month_day(sd)+" | "
sd=this.date.add(sd,1,"day");
}
html+="";
h[i] = cellheight;
cellheight+=this._colsS.height;
}
html+="