Disable resize trigger (#3057)

This commit is contained in:
Jeroen Peelaerts committed 2020-12-30 22:46:44 +01:00
1 parent a8e505d668
commit 98306e20be
3 files changed
-12

No files matched your search

-1
View File
@@ -58,7 +58,6 @@
escape: false
});
table_support.init_resize();
});
</script>
@@ -91,7 +91,6 @@
});
init_dialog();
table_support.init_resize();
});
</script>
-10
View File
@@ -258,20 +258,10 @@
enable_actions();
init_delete();
init_restore();
init_resize();
toggle_column_visibility();
dialog_support.init("button.modal-dlg");
};
var init_resize = function() {
$(window).resize(function () {
$('#table').bootstrapTable('refreshOptions', {
stickyHeaderOffsetLeft: $('#table').offset().left + 'px',
stickyHeaderOffsetRight: $('#table').offset().right + 'px',
})
})
}
var init_delete = function (confirmMessage) {
$("#delete").click(function(event) {
do_action("delete")();