From 12bf42d2f1c5c41f5671b3aae64f06bcc6af2406 Mon Sep 17 00:00:00 2001 From: denise Date: Wed, 27 Jun 2012 15:50:56 -0400 Subject: [PATCH] CC-4031: Timeline cursor vanishes when every once in a while -fixed --- airtime_mvc/public/js/airtime/showbuilder/builder.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/showbuilder/builder.js b/airtime_mvc/public/js/airtime/showbuilder/builder.js index 64162029f..53c233b00 100644 --- a/airtime_mvc/public/js/airtime/showbuilder/builder.js +++ b/airtime_mvc/public/js/airtime/showbuilder/builder.js @@ -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) {