Disable resize trigger (#3057)

This commit is contained in:
Jeroen Peelaerts
2020-12-30 22:14:43 +01:00
parent a8e505d668
commit 98306e20be
3 changed files with 0 additions and 12 deletions

View File

@@ -58,7 +58,6 @@
escape: false
});
table_support.init_resize();
});
</script>

View File

@@ -91,7 +91,6 @@
});
init_dialog();
table_support.init_resize();
});
</script>

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")();