Reusable datatable control that hooks up to any of our REST APIs

* Implements item selection (single, shift, ctrl), pagination, and
  sorting. To be used in the future.
* Added example code for how to use the table widget
* Temporarily added a table test page to the DashboardController
This commit is contained in:
Albert Santoni 2015-09-15 14:18:35 -04:00
parent 2d2ed25fcc
commit ffdc83dc26
7 changed files with 411 additions and 21 deletions

View file

@ -1174,25 +1174,6 @@ var AIRTIME = (function(AIRTIME) {
}(AIRTIME || {}));
function buildEditMetadataDialog (json){
var dialog = $(json.dialog);
dialog.dialog({
autoOpen: false,
title: $.i18n._("Edit Metadata"),
width: 460,
height: 660,
modal: true,
close: closeDialogLibrary
});
dialog.dialog('open');
}
function closeDialogLibrary(event, ui) {
$(this).remove();
}
/*
* This function is called from dataTables.columnFilter.js
*/