Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x

This commit is contained in:
Cliff 2012-07-05 15:22:37 -04:00
commit d8e0466721
1 changed files with 8 additions and 3 deletions

View File

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