Module: check_mk
Branch: master
Commit: b9f6742731bc124eb214354bb07a8f290b384807
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b9f6742731bc12…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jun 26 13:34:57 2015 +0200
#2346 FIX Notifications: Fixed garbled page when switching on/off bulks/backlog/user
rules
---
.werks/2346 | 9 +++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 3 +++
3 files changed, 13 insertions(+)
diff --git a/.werks/2346 b/.werks/2346
new file mode 100644
index 0000000..5f0a289
--- /dev/null
+++ b/.werks/2346
@@ -0,0 +1,9 @@
+Title: Notifications: Fixed garbled page when switching on/off bulks/backlog/user rules
+Level: 1
+Component: wato
+Compatible: compat
+Version: 1.2.7i3
+Date: 1435318469
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 129bb11..c926dc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
WATO:
* 2344 FIX: Improved validation of selected rules when editing BI aggregations...
+ * 2346 FIX: Notifications: Fixed garbled page when switching on/off
bulks/backlog/user rules
Notifications:
* 2313 FIX: notification bulking: fixed exception for plugins which are not
configured with checkboxes, e.g. sms
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index c7a256d..ac18fe1 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8995,16 +8995,19 @@ def mode_notifications(phase):
if html.check_transaction():
options["show_user_rules"] = not not
html.var("_show_user")
config.save_user_file("notification_display_options", options)
+ return
elif html.has_var("_show_backlog"):
if html.check_transaction():
options["show_backlog"] = not not
html.var("_show_backlog")
config.save_user_file("notification_display_options", options)
+ return
elif html.has_var("_show_bulks"):
if html.check_transaction():
options["show_bulks"] = not not
html.var("_show_bulks")
config.save_user_file("notification_display_options", options)
+ return
elif html.has_var("_replay"):
if html.check_transaction():