mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-15 06:47:08 -04:00
Remove basic/selected toggle (#2980)
This commit is contained in:
1 parent
23e4deb7c4
commit
4e85b8a677
1 file changed
+1
-1
@@ -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