Module: check_mk
Branch: master
Commit: f1c9082bf0d81120acfd9d94ff36c8191514f5d7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f1c9082bf0d811…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 21 14:01:43 2011 +0100
Bugfix: Fixed javascript error when doing replication in distributed
wato environments when not having the sidebar open
---
ChangeLog | 4 +++-
web/htdocs/js/wato.js | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 72c2b7b..484706a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,8 +11,10 @@
* Optimized wraps in host lists tag column
* Bulk inventory: Remove leading pipe signs in progress bar on main
folder inventory
- * Bugfix: Calling activate_changes hook also in distributed WATO setups
* NagVis auhtorization file generation is also executed on activate_changes
+ * Bugfix: Calling activate_changes hook also in distributed WATO setups
+ * Bugfix: Fixed javascript error when doing replication in distributed
+ wato environments when not having the sidebar open
1.1.13i1:
Multisite:
diff --git a/web/htdocs/js/wato.js b/web/htdocs/js/wato.js
index b3045b9..98adf36 100644
--- a/web/htdocs/js/wato.js
+++ b/web/htdocs/js/wato.js
@@ -456,7 +456,8 @@ function wato_replication_result(siteid, code) {
}
function wato_replication_finish() {
- parent.frames[1].location.reload(); // reload sidebar
+ if(parent && parent.frames[1])
+ parent.frames[1].location.reload(); // reload sidebar
oDiv = document.getElementById("act_changes_button");
oDiv.style.display = "none";
}