From: Marcin Haba Date: Sun, 21 Jul 2019 03:13:34 +0000 (+0200) Subject: baculum: Add timeout to first refresh job log to have log output earlier X-Git-Tag: Release-9.6.0~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40b2daffc8d152b259f55f271e6f54716b3927d6;p=thirdparty%2Fbacula.git baculum: Add timeout to first refresh job log to have log output earlier --- diff --git a/gui/baculum/protected/Web/Pages/JobHistoryView.page b/gui/baculum/protected/Web/Pages/JobHistoryView.page index 9c9008af5e..5468ff2c0a 100644 --- a/gui/baculum/protected/Web/Pages/JobHistoryView.page +++ b/gui/baculum/protected/Web/Pages/JobHistoryView.page @@ -114,6 +114,11 @@ loader.style.display = 'none'; } } + setTimeout(function() { + if (oData && oData.running_jobs.length > 0) { + job_callback_func(true); + } + }, 3000);