Module: check_mk
Branch: master
Commit: b4c2fe13d050b00171379ed90882b05fdd1b518b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b4c2fe13d050b0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 10 10:12:37 2012 +0100
Fixed problem when trying to visit dashboards from new wato foldertree snapin
---
ChangeLog | 3 ++-
web/htdocs/js/sidebar.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 48df1a9..d4d0ee8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,7 +24,8 @@
Multisite:
* Added several missing localization stringsw
- * IE: Fixed problem with clicking SELECT fields in the new views snapin
+ * IE: Fixed problem with clicking SELECT fields in the new wato foldertree snapin
+ * Fixed problem when trying to visit dashboards from new wato foldertree snapin
1.1.13i3:
Core, Setup, etc.:
diff --git a/web/htdocs/js/sidebar.js b/web/htdocs/js/sidebar.js
index 8d1d532..3173db3 100644
--- a/web/htdocs/js/sidebar.js
+++ b/web/htdocs/js/sidebar.js
@@ -738,7 +738,7 @@ function wato_tree_click(folderpath) {
var target = document.getElementById('target_' + topic).value;
if(target.substr(0, 9) == 'dashboard') {
- dashboard_name = target.substr(9, target.length);
+ dashboard_name = target.substr(10, target.length);
href = 'dashboard.py?name=' + escape(dashboard_name);
} else {
href = 'view.py?view_name=' + escape(target);