Frontend tweaks to podcasting + new abstract datatables functionality

This commit is contained in:
Duncan Sommerville 2015-09-21 12:40:05 -04:00
parent 3db20bd3b5
commit 373ff55923
10 changed files with 82 additions and 66 deletions

View file

@ -36,6 +36,8 @@ var AIRTIME = (function(AIRTIME) {
self._$wrapperDOMNode = $(wrapperDOMNode);
self._toolbarButtons = toolbarButtons;
// Exclude the leftmost column if we're implementing item selection
self._colVisExcludeColumns = bItemSelection ? [0] : [];
//Finish initialization of the datatable since everything is declared by now.
@ -65,6 +67,7 @@ var AIRTIME = (function(AIRTIME) {
}),
"oColVis": {
"sAlign": "right",
"aiExclude": self.colVisExcludeColumns,
"buttonText": $.i18n._("Columns"),
"iOverlayFade": 0
},