Module: check_mk
Branch: master
Commit: 0fc2de8bcd81d7646b8705232834d80b802f4b07
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0fc2de8bcd81d7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Oct 7 08:45:22 2014 +0200
Back URLs of edit dashlet or delete dashlet confirm dialog bring users back to edit mode
of dashboard
---
web/htdocs/dashboard.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index c60628c..7ac8255 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -442,7 +442,7 @@ window.onresize = function () { calculate_dashboard(); }
dashboard_scheduler(1);
""" % (MAX, GROW, raster, header_height, screen_margin, title_height,
dashlet_padding, dashlet_min_size,
corner_overlap, refresh_dashlets, ','.join(on_resize), name,
board['mtime'],
- html.makeuri([]), repr(dashlets_js)))
+ html.makeuri([('edit', '1')]), repr(dashlets_js)))
if mode == 'edit':
html.javascript('toggle_dashboard_edit(true)')