clearing internal selected items array.

This commit is contained in:
Naomi Aro 2013-08-30 02:24:16 -04:00
parent 846c90bc8f
commit ad531f9512
1 changed files with 7 additions and 4 deletions

View File

@ -254,10 +254,9 @@ var AIRTIME = (function(AIRTIME) {
var $div = $(ui.newContent);
$(ui.oldContent).empty();
createShowTable($div);
},
changestart: function( event, ui ) {
selectedLogItems = {};
}
//changestart: function( event, ui ) {}
});
}
@ -431,6 +430,7 @@ var AIRTIME = (function(AIRTIME) {
},
always: function() {
inShowsTab = false;
selectedLogItems = {};
}
},
{
@ -443,6 +443,7 @@ var AIRTIME = (function(AIRTIME) {
},
always: function() {
inShowsTab = false;
selectedLogItems = {};
}
},
{
@ -456,6 +457,7 @@ var AIRTIME = (function(AIRTIME) {
always: function() {
inShowsTab = true;
showSummaryList();
selectedLogItems = {};
}
}
];
@ -666,6 +668,7 @@ var AIRTIME = (function(AIRTIME) {
url = baseUrl+"playouthistory/delete-list-items";
$.post(url, {ids: items, format: "json"}, function() {
selectedLogItems = {};
redrawTables();
});
});