Module: check_mk
Branch: master
Commit: f3baadf49483dbee6a08c663d23cd2d1f1b9d76d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f3baadf49483db…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 11 08:44:26 2016 +0100
Fixed invalid exception call
---
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 036959a..2813d0d 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -949,7 +949,7 @@ def ajax_popup_move_to_folder():
return
if not back_url or not back_url.startswith("wato.py"):
- raise MKUserError(_("Invalid back URL provided."))
+ raise MKUserError("back_url", _("Invalid back URL
provided."))
html.write('<span>%s</span>' % _('Move this %s to:') %
what_title)