for (var s = 0; s < maxg; s++) {\r
if (tmpVS.groupIndex != s) {\r
SchedulerDataViewData[rowIndex].leases[startSlotId].status = classText;\r
- SchedulerData[rowIndex].leases[startSlotId].status = classText;\r
+ SchedulerData[resourceIndex].leases[startSlotId].status = classText;\r
}\r
startSlotId++;\r
}\r
} else if (dateOne > dateTwo) {\r
return -1;\r
} else {\r
- return 0;\r
+ return 1;\r
}\r
\r
}\r