CC-4065: Timeline -> Cursor will disappear after a track is finished sometimes

-fixed
This commit is contained in:
denise 2012-07-03 18:22:48 -04:00
parent 8a394f752b
commit 87afea63bf
1 changed files with 8 additions and 3 deletions

View File

@ -213,6 +213,13 @@ var AIRTIME = (function(AIRTIME){
mod.fnItemCallback = function(json) { mod.fnItemCallback = function(json) {
checkError(json); checkError(json);
mod.getSelectedCursors();
oSchedTable.fnDraw();
mod.enableUI();
};
mod.getSelectedCursors = function() {
cursorIds = []; cursorIds = [];
/* We need to keep record of which show the cursor belongs to /* We need to keep record of which show the cursor belongs to
@ -237,9 +244,6 @@ var AIRTIME = (function(AIRTIME){
headerFooter.push("n"); headerFooter.push("n");
} }
} }
oSchedTable.fnDraw();
mod.enableUI();
}; };
mod.fnAdd = function(aMediaIds, aSchedIds) { mod.fnAdd = function(aMediaIds, aSchedIds) {
@ -315,6 +319,7 @@ var AIRTIME = (function(AIRTIME){
"success": function(json) { "success": function(json) {
mod.setTimestamp(json.timestamp); mod.setTimestamp(json.timestamp);
mod.setShowInstances(json.instances); mod.setShowInstances(json.instances);
mod.getSelectedCursors();
fnCallback(json); fnCallback(json);
} }
}); });