CC-3545 : Calendar->AddRemove (Now Playing Tab->Add Files to Show) -> changing order of tracks is not correct
removing table tools. replacing with something simpler that will preserve order on screen.
This commit is contained in:
parent
c5b761bff3
commit
6c25423f4e
9 changed files with 240 additions and 243 deletions
|
@ -275,10 +275,8 @@ var AIRTIME = (function(AIRTIME){
|
|||
}
|
||||
|
||||
function redrawLib() {
|
||||
var dt = $("#library_display").dataTable(),
|
||||
oLibTT = TableTools.fnGetInstance('library_display');
|
||||
var dt = $("#library_display").dataTable();
|
||||
|
||||
oLibTT.fnSelectNone();
|
||||
dt.fnStandingRedraw();
|
||||
}
|
||||
|
||||
|
@ -519,12 +517,11 @@ var AIRTIME = (function(AIRTIME){
|
|||
fnReceive = function(event, ui) {
|
||||
var aItems = [],
|
||||
aSelected,
|
||||
oLibTT = TableTools.fnGetInstance('library_display'),
|
||||
i,
|
||||
length;
|
||||
|
||||
//filter out anything that isn't an audiofile.
|
||||
aSelected = oLibTT.fnGetSelectedData();
|
||||
aSelected = AIRTIME.library.getSelectedData();
|
||||
//if nothing is checked select the dragged item.
|
||||
if (aSelected.length === 0) {
|
||||
aSelected.push(ui.item.data("aData"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue