Reduced the Now Playing screen AJAX on load from 9 to 2.

This commit is contained in:
Albert Santoni 2015-04-10 19:52:06 -04:00
parent 095ca86b34
commit b11e98ea24
4 changed files with 12 additions and 8 deletions

View file

@ -439,13 +439,14 @@ var AIRTIME = (function(AIRTIME){
"fnStateSave": function fnStateSave(oSettings, oData) {
localStorage.setItem('datatables-timeline', JSON.stringify(oData));
/*
$.ajax({
url: baseUrl+"usersettings/set-timeline-datatable",
type: "POST",
data: {settings : oData, format: "json"},
dataType: "json"
});
});*/
},
"fnStateLoad": function fnBuilderStateLoad(oSettings) {
var settings = localStorage.getItem('datatables-timeline');
@ -466,13 +467,14 @@ var AIRTIME = (function(AIRTIME){
a[i] = (a[i] === "true") ? true : false;
}
}
/*
a = oData.ColReorder;
for (i = 0, length = a.length; i < length; i++) {
if (typeof(a[i]) === "string") {
a[i] = parseInt(a[i], 10);
}
}
}*/
oData.iCreate = parseInt(oData.iCreate, 10);
},