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
1 changed files with 4 additions and 1 deletions

View File

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