mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-17 05:47:57 -05:00
Remove basic/selected toggle (#2980)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user