Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x
This commit is contained in:
commit
d8e0466721
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue