-all songs of the current show are now highlighted in the now playing datatable.

This commit is contained in:
martin 2011-01-30 20:12:07 -05:00
parent dc6fcec0e3
commit eeaa7da6f5
5 changed files with 30 additions and 18 deletions

View file

@ -62,12 +62,12 @@ function createDataGrid(){
"aaData": datagridData.rows,
"aoColumns": datagridData.columnHeaders,
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
if (aData[0] == "p"){
//$(nRow).attr("style", "background-color:blue;");
} else if (aData[0] == "c"){
$(nRow).attr("style", "background-color:#61B329;");
} else if (aData[0] == "n"){
}
if (aData[aData.length-2] != ""){
$(nRow).attr("style", "background-color:#166622");
}
if (aData[0] == "c")
$(nRow).attr("style", "background-color:#61B329");
return nRow;
}
} );