shortly introduced bug)
Message-ID: <526e6db1.1m0ja50btsdzPbcw%lm(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: 61cecbedf3eb98f047927305d970780104730551
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=61cecbedf3eb98…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Oct 28 14:59:08 2013 +0100
Fixed redirect after WATO rule edit (shortly introduced bug)
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index d08f172..188f8c2 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -11311,7 +11311,7 @@ def mode_edit_rule(phase, new = False):
varname = html.var("varname")
rulespec = g_rulespecs[varname]
- back_mode = html.var('back_mode')
+ back_mode = html.var('back_mode', 'edit_ruleset')
if phase == "title":
return _("%s rule %s") % (new and _("New") or
_("Edit"), rulespec["title"])