Module: check_mk
Branch: master
Commit: d98166bc51cbf159c4e18bc8aa2b09d741728fb6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d98166bc51cbf1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Sep 5 14:40:00 2011 +0200
FIX: Not showing the action form in "try" mode of the view editor
---
ChangeLog | 1 +
web/htdocs/views.py | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fd71f13..c7e0b1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
* FIX: fix error when using non-Ascii characters in view title
* FIX: fix error on comment page caused by missing sorter
* FIX: endless javascript when fetching pnp graphs on host/service detail pages
+ * FIX: Not showing the action form in "try" mode of the view editor
* Added missing i18n strings in command form and list of views
* Views are not reloaded completely anymore. The data tables are reloaded
on their own.
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 9fdfb07..7d2fb0c 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -1793,6 +1793,8 @@ def collist_of_collection(collection, join_target = []):
def show_action_form(is_open, datasource):
if not config.may("act"):
return
+ if html.has_var("try"):
+ return
# We take the first info to be the native data type of this table
# and show actions useful for that