Changeset 18044 for trunk/FACT++/www/schedule/index.js
- Timestamp:
- 12/29/14 22:06:33 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/schedule/index.js
r17724 r18044 31 31 if (!el.valueAsDate) 32 32 { 33 el.setAttribute("style", "color:#000000");34 return;33 // el.setAttribute("style", "color:#000000"); 34 continue; 35 35 } 36 36 … … 144 144 input1p.setAttribute("hidden", "true"); 145 145 // FIXME: Enable if this is the last "+" in tonight 146 if (disabled )146 if (disabled && ! (table.isTonight && row.last)) 147 147 input1p.setAttribute("disabled", "true"); 148 148 input1p.onclick = function() … … 453 453 table.cutTime = "12:00:00"; 454 454 455 // Now loop over all rows and add them o ine by one to the table455 // Now loop over all rows and add them one by one to the table 456 456 for (var i=0; i<schedule.length; i++) 457 457 { 458 schedule[i].last = schedule[schedule.length-1].fStart==schedule[i].fStart; 458 459 schedule[i].fStart = schedule[i].fStart.replace('-', '/'); 459 460 schedule[i].fStart = schedule[i].fStart.replace('-', '/');
Note:
See TracChangeset
for help on using the changeset viewer.