smoother refresh on jobqueue

This commit is contained in:
Oliver Gorwits
2023-10-26 17:05:42 +01:00
parent 21bc8cf63e
commit 0631d59345

View File

@@ -25,9 +25,11 @@ function do_search (event, tab) {
} }
// in case of slow data load, let the user know // in case of slow data load, let the user know
$(target).html( if (tab != 'jobqueue') {
'<div class="span2 alert"><i class="icon-spinner icon-spin"></i> Waiting for results...</div>' $(target).html(
); '<div class="span2 alert"><i class="icon-spinner icon-spin"></i> Waiting for results...</div>'
);
}
// submit the query and put results into the tab pane // submit the query and put results into the tab pane
fetch( uri_base + '/ajax/content/' + path + '/' + tab + '?' + query, fetch( uri_base + '/ajax/content/' + path + '/' + tab + '?' + query,