Module: check_mk
Branch: master
Commit: cf1c5a6604be89319b142a44de5d585a534f5356
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cf1c5a6604be89…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Oct 21 10:29:48 2011 +0200
WATO: fix reload problem while creating folders
---
web/htdocs/wato.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 8221051..15ca176 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -358,6 +358,9 @@ def mode_editfolder(phase, what, new):
else:
name = create_wato_filename(title, what)
+ if not html.check_transaction():
+ return "folder"
+
# Roles and Permissions
roles = [ role for role in config.roles if html.var("role_" + role) ]