diff --git a/public/js/manage_tables.js b/public/js/manage_tables.js index 559715c50..7d1f0e5a6 100644 --- a/public/js/manage_tables.js +++ b/public/js/manage_tables.js @@ -111,7 +111,6 @@ var enable_actions = function(callback) { return function() { var selection_empty = selected_rows().length == 0; - $("#table").data('bootstrap.table').options.exportDataType = selection_empty ? 'basic' : 'selected'; $("#toolbar button:not(.dropdown-toggle)").attr('disabled', selection_empty); typeof callback == 'function' && callback(); } @@ -219,6 +218,7 @@ stickyHeaderOffsetRight: $('#table').offset().right + 'px', url: options.resource + '/search', sidePagination: 'server', + selectItemName: 'btSelectItem', pageSize: options.pageSize, pagination: true, search: options.resource || false,