CC-3174 : showbuilder
refactoring playlist to work with group add/delete by resource id and using transactions.
This commit is contained in:
parent
bdc9707052
commit
46fdf56b70
10 changed files with 471 additions and 409 deletions
|
@ -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();
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue