CC-3174 : timeline

don't highlight empty timeline.
This commit is contained in:
Naomi Aro 2012-04-02 11:07:28 +02:00
parent ebf530a97c
commit 9f0741a684

View file

@ -413,7 +413,10 @@ var AIRTIME = (function(AIRTIME){
//if there is only 1 cursor on the page highlight it by default. //if there is only 1 cursor on the page highlight it by default.
if ($cursorRows.length === 1) { if ($cursorRows.length === 1) {
$cursorRows.addClass("cursor-selected-row"); $td = $cursorRows.find("td:first");
if (!$td.hasClass("dataTables_empty")) {
$cursorRows.addClass("cursor-selected-row");
}
} }
} }