[icinga-checkins] icinga.org: icinga-web/r1.5: status map now hides layer if an error occurs and doesn'T freeze interface

git at icinga.org git at icinga.org
Fri Aug 26 16:28:48 CEST 2011


Module: icinga-web
Branch: r1.5
Commit: 51f9a755d0b6924f7c1d8456122c3d006f1e4100
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=51f9a755d0b6924f7c1d8456122c3d006f1e4100

Author: Jannis Moßhanner <jannis.mosshammer at netways.de>
Date:   Fri Aug 26 15:37:40 2011 +0200

status map now hides layer if an error occurs and doesn'T freeze interface

---

 app/modules/Cronks/lib/js/JitStatusMap.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/app/modules/Cronks/lib/js/JitStatusMap.js b/app/modules/Cronks/lib/js/JitStatusMap.js
index 0fcde09..faacfdc 100755
--- a/app/modules/Cronks/lib/js/JitStatusMap.js
+++ b/app/modules/Cronks/lib/js/JitStatusMap.js
@@ -249,10 +249,13 @@ function JitStatusMap (config) {
 
 	this.getMapDataFail = function (response, o) {
 		this.jitJson = {};
+        this.mask.hide();
+		this.mask.disable();
 	}
 
 	this.getMapDataDefault = function (options, success, request) {
-		
+		this.mask.hide();
+		this.mask.disable();
 	}
 
 	this.init(config);





More information about the icinga-checkins mailing list