]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Add timeout to first refresh job log to have log output earlier
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 21 Jul 2019 03:13:34 +0000 (05:13 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Sat, 14 Dec 2019 14:55:26 +0000 (15:55 +0100)
gui/baculum/protected/Web/Pages/JobHistoryView.page

index 9c9008af5e7b905f1319cb375d5297add13023a6..5468ff2c0a752d493bc15f4280d1a79cbb19afd2 100644 (file)
                                        loader.style.display = 'none';
                                }
                        }
+                       setTimeout(function() {
+                               if (oData && oData.running_jobs.length > 0) {
+                                       job_callback_func(true);
+                               }
+                       }, 3000);
                </script>
                <com:Application.Web.Portlets.RunJob ID="RunJobModal" />
        </div>