This commit is contained in:
Valeriy 2013-12-10 19:00:35 +06:00
parent fef125cf36
commit 76b82f8412

View File

@ -599,8 +599,8 @@
table+='<td data-date="'+start.getDate()+'" data-month="'+start.getMonth()+'" data-year="'+start.getFullYear()+'"'+
' class="'+
(
(options.maxDate!==false&&Math.round(xd.strtodate(options.maxDate).getTime()/86400000)<=Math.round(start.getTime()/86400000))||
(options.minDate!==false&&Math.round(xd.strtodate(options.minDate).getTime()/86400000)>=Math.round(start.getTime()/86400000))
(options.maxDate!==false&&Math.round(xd.strtodate(options.maxDate).getTime()/86400000)<Math.round(start.getTime()/86400000))||
(options.minDate!==false&&Math.round(xd.strtodate(options.minDate).getTime()/86400000)>Math.round(start.getTime()/86400000))
?'xdsoft_disabled ':' ')+
(xd.currentTime.getMonth()!=start.getMonth()?' xdsoft_other_month ':' ')+
(xd.currentTime.dateFormat('d.m.Y')==start.dateFormat('d.m.Y')?' xdsoft_current ':' ')+