diff --git a/application/views/reports/tabular.php b/application/views/reports/tabular.php index b5433aa9f..3ef326f36 100644 --- a/application/views/reports/tabular.php +++ b/application/views/reports/tabular.php @@ -58,7 +58,6 @@ escape: false }); - table_support.init_resize(); }); diff --git a/application/views/reports/tabular_details.php b/application/views/reports/tabular_details.php index 59f3698e5..40d334382 100644 --- a/application/views/reports/tabular_details.php +++ b/application/views/reports/tabular_details.php @@ -91,7 +91,6 @@ }); init_dialog(); - table_support.init_resize(); }); diff --git a/public/js/manage_tables.js b/public/js/manage_tables.js index c272fff91..fbfeb83c3 100644 --- a/public/js/manage_tables.js +++ b/public/js/manage_tables.js @@ -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")();