From 0631d59345477179037ffc1151d9b99f1923b835 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Thu, 26 Oct 2023 17:05:42 +0100 Subject: [PATCH] smoother refresh on jobqueue --- share/public/javascripts/netdisco.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/share/public/javascripts/netdisco.js b/share/public/javascripts/netdisco.js index bbb07828..50df602a 100644 --- a/share/public/javascripts/netdisco.js +++ b/share/public/javascripts/netdisco.js @@ -25,9 +25,11 @@ function do_search (event, tab) { } // in case of slow data load, let the user know - $(target).html( - '
Waiting for results...
' - ); + if (tab != 'jobqueue') { + $(target).html( + '
Waiting for results...
' + ); + } // submit the query and put results into the tab pane fetch( uri_base + '/ajax/content/' + path + '/' + tab + '?' + query,