CC-3174 : showbuilder

refactoring playlist to work with group add/delete by resource id and using transactions.
This commit is contained in:
Naomi Aro 2012-02-04 15:52:31 +01:00
parent bdc9707052
commit 46fdf56b70
10 changed files with 471 additions and 409 deletions

View file

@ -192,6 +192,7 @@ $(document).ready(function() {
$.post( "/showbuilder/schedule-remove",
{"ids": ids, "format": "json"},
function(data) {
oTT.fnSelectNone();
oTable.fnDraw();
});
};
@ -316,7 +317,8 @@ $(document).ready(function() {
fnAdd,
fnMove,
fnReceive,
fnUpdate;
fnUpdate,
oTT = TableTools.fnGetInstance('show_builder_table');
fnAdd = function() {
var aMediaIds = [],
@ -328,6 +330,7 @@ $(document).ready(function() {
$.post("/showbuilder/schedule-add",
{"format": "json", "mediaIds": aMediaIds, "schedIds": aSchedIds},
function(json){
oTT.fnSelectNone();
oTable.fnDraw();
});
};