Module: check_mk
Branch: master
Commit: 42b3daa19e39f8d879091a940a953cf799cb7595
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=42b3daa19e39f8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Apr 20 10:15:02 2012 +0200
WATO: fix page header after confirmation dialogs
---
ChangeLog | 1 +
web/htdocs/wato.py | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3b247a9..0ca4f45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@
WATO:
* Reimplemented folder listing in host/folders module
+ * FIX: fix page header after confirmation dialogs
1.2.0b2:
Core:
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index b5cced0..7483ec0 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -10620,7 +10620,8 @@ def make_action_link(vars):
# Show confirmation dialog, send HTML-header if dialog is shown.
def wato_confirm(html_title, message):
- wato_html_head(html_title)
+ if not html.has_var("_do_confirm") and not
html.has_var("_do_actions"):
+ wato_html_head(html_title)
return html.confirm(message)
def wato_html_head(title):