From ac6dbe4ed6a20a7b28f8f7676651ead2346da179 Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Fri, 20 Mar 2026 23:35:59 +0300 Subject: [PATCH 1/2] Silent refresh bootstrapTable on Console page (console.js) - The table refresh message will not appear briefly. The table will not "flicker." Scrolling will attempt to return to the position it was in before the refresh. --- web/skins/classic/views/js/console.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/console.js b/web/skins/classic/views/js/console.js index 8d9c6a8086..d701a990e9 100644 --- a/web/skins/classic/views/js/console.js +++ b/web/skins/classic/views/js/console.js @@ -390,7 +390,9 @@ function selectMonitor(element) { function reloadWindow() { // Use table refresh instead of full page reload if (table && table.length) { - table.bootstrapTable('refresh'); + const scrollPosition = table.bootstrapTable('getScrollPosition'); + table.bootstrapTable('refresh', {silent: true, reinit: false}); + table.bootstrapTable('scrollTo', scrollPosition); } else { window.location.replace(thisUrl); } From a685759885b85b45963518854b10f332b817eba5 Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Sat, 21 Mar 2026 11:58:00 +0300 Subject: [PATCH 2/2] Don't use "scrollTo" because it doesn't work properly. (console.js) --- web/skins/classic/views/js/console.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/skins/classic/views/js/console.js b/web/skins/classic/views/js/console.js index d701a990e9..3574186c36 100644 --- a/web/skins/classic/views/js/console.js +++ b/web/skins/classic/views/js/console.js @@ -390,9 +390,7 @@ function selectMonitor(element) { function reloadWindow() { // Use table refresh instead of full page reload if (table && table.length) { - const scrollPosition = table.bootstrapTable('getScrollPosition'); table.bootstrapTable('refresh', {silent: true, reinit: false}); - table.bootstrapTable('scrollTo', scrollPosition); } else { window.location.replace(thisUrl); }