CC-3333 : showbuilder track colouring

tracks coloured if boundry/over.

needs better colour selection.
This commit is contained in:
Naomi Aro 2012-02-23 22:23:21 +01:00
parent d93041edb9
commit c665a3fa03
3 changed files with 41 additions and 0 deletions

View file

@ -284,6 +284,14 @@ $(document).ready(function() {
$(nRow).addClass("sb-not-allowed");
}
//status used to colour tracks.
if (aData.status === 1) {
$(nRow).addClass("sb-boundry");
}
else if (aData.status === 2) {
$(nRow).addClass("sb-over");
}
fnPrepareSeparatorRow = function(sRowContent, sClass, iNodeIndex) {
node = nRow.children[iNodeIndex];