CC-4031: Timeline cursor vanishes when every once in a while

-fixed
This commit is contained in:
denise 2012-06-27 15:50:56 -04:00
parent aef57536c3
commit 12bf42d2f1
1 changed files with 2 additions and 1 deletions

View File

@ -211,6 +211,8 @@ var AIRTIME = (function(AIRTIME){
mod.fnItemCallback = function(json) {
checkError(json);
cursorIds = [];
cursors = $(".cursor-selected-row");
for (i = 0; i < cursors.length; i++) {
cursorIds.push(($(cursors.get(i)).attr("id")));
@ -673,7 +675,6 @@ var AIRTIME = (function(AIRTIME){
$tr = $table.find("tr[id="+cursorIds[i]+"]");
mod.selectCursor($tr);
}
cursorIds = [];
//if there is only 1 cursor on the page highlight it by default.
if ($cursorRows.length === 1) {