Module: check_mk
Branch: master
Commit: 58fb020b3f3ffc099a78aac1a34f6f38799603b2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=58fb020b3f3ffc…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Apr 12 11:24:40 2019 +0200
fixed set_browser_reload issues
Change-Id: I9f0cd720e5c664edfceb2c3be5e0dd30980b465e
---
cmk/gui/plugins/wato/background_job.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/gui/plugins/wato/background_job.py
b/cmk/gui/plugins/wato/background_job.py
index 4af3423..fc59ae7 100644
--- a/cmk/gui/plugins/wato/background_job.py
+++ b/cmk/gui/plugins/wato/background_job.py
@@ -90,7 +90,7 @@ class ModeBackgroundJobsOverview(WatoMode):
if any(
job_manager.get_running_job_ids(c)
for c in gui_background_job.job_registry.values()):
- html.set_browser_reload(0.8)
+ html.immediate_browser_redirect(0.8, "")
def action(self):
action_handler = gui_background_job.ActionHandler()
@@ -136,7 +136,7 @@ class ModeBackgroundJobDetails(WatoMode):
job_manager = gui_background_job.GUIBackgroundJobManager()
job_manager.show_job_details_from_snapshot(job_snapshot)
if job_snapshot.is_running():
- html.set_browser_reload(1)
+ html.immediate_browser_redirect(1, "")
def action(self):
action_handler = gui_background_job.ActionHandler()