Module: check_mk
Branch: master
Commit: c24c7b10d5908acb7a20088ccbe5e10aff1f5653
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c24c7b10d5908a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Oct 7 16:38:02 2014 +0200
Fixed editing dashlet details
---
web/plugins/dashboard/dashlets.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/dashboard/dashlets.py b/web/plugins/dashboard/dashlets.py
index 49e9167..ea44fad 100644
--- a/web/plugins/dashboard/dashlets.py
+++ b/web/plugins/dashboard/dashlets.py
@@ -536,7 +536,7 @@ def dashlet_view_render_input(dashlet):
views.load_views()
if html.var("id"):
# only needed in case of editing an existing view
- views.transform_view_to_valuespec(dashlet)
+ views.transform_view_to_valuespec_value(dashlet)
return views.render_view_config(dashlet)
def dashlet_view_handle_input(ident, dashlet):
@@ -544,7 +544,7 @@ def dashlet_view_handle_input(ident, dashlet):
dashlet.setdefault('title', _('View'))
import views # FIXME: HACK, clean this up somehow
views.load_views()
- return views.create_view_config(dashlet, dashlet)
+ return views.create_view_from_valuespec(dashlet, dashlet)
dashlet_types["view"] = {
"title" : _("View"),