X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fscheduler2%2Fstatic%2Fjs%2Fscheduler-helpers.js;h=383cf1cf8b42edaf0c3766c34df15f92f5b6aa1c;hb=436b2227713f8cd5e0b7da6e9d1216eb17c2a941;hp=c55c6356703ec422d84f5fa10347b17b2c91b67f;hpb=f7750e08d78ebb75b222baf901853370cd7ffff5;p=unfold.git diff --git a/plugins/scheduler2/static/js/scheduler-helpers.js b/plugins/scheduler2/static/js/scheduler-helpers.js index c55c6356..383cf1cf 100755 --- a/plugins/scheduler2/static/js/scheduler-helpers.js +++ b/plugins/scheduler2/static/js/scheduler-helpers.js @@ -148,7 +148,7 @@ function _schedulerSetStatusSlot(slotId, rowIndex, resourceIndex, classText) { for (var s = 0; s < maxg; s++) { if (tmpVS.groupIndex != s) { SchedulerDataViewData[rowIndex].leases[startSlotId].status = classText; - SchedulerData[rowIndex].leases[startSlotId].status = classText; + SchedulerData[resourceIndex].leases[startSlotId].status = classText; } startSlotId++; }