Module: check_mk
Branch: master
Commit: b0090f657f6dc99d953098d81cfbdc5202a35a86
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b0090f657f6dc9…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Sep 3 12:39:07 2012 +0200
Fxied command handling in mobile gui
---
web/htdocs/mobile.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/mobile.py b/web/htdocs/mobile.py
index a2f3b42..19e2559 100644
--- a/web/htdocs/mobile.py
+++ b/web/htdocs/mobile.py
@@ -358,7 +358,7 @@ def do_commands(view, what, rows):
command = None
title, executor = views.core_command(what, rows[0])[1:3] # just get the title
r = html.confirm(_("Do you really want to %(title)s the %(count)d
%(what)ss?") %
- (title, len(rows), what), action=html.req.myfile +
".py#commands")
+ { "title" : title, "count" : len(rows), "what"
: _(what + "s"), })
if r != True:
return r == None # Show commands on negative answer