Author: Lars Michelsen <[email protected]>
Date: Tue Apr 30 16:14:23 2013 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Tue Apr 30 16:14:23 2013 +0200
FIX: Fixed hiding of shapes during refresh (enable_refresh=1)
---
ChangeLog | 1 +
share/frontend/nagvis-js/js/NagVisShape.js | 6 ++----
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e5e60e7..92d4fe9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@ Geomap:
Frontend:
* FIX: Fixed "Undefined index" error when changing backend_id of maps
+ * FIX: Fixed hiding of shapes during refresh (enable_refresh=1)
* Reverted change from 1.7.5 (Weathermap lines with byte/bit values in
labels should print human) which broke the handling for some plugins
diff --git a/share/frontend/nagvis-js/js/NagVisShape.js
b/share/frontend/nagvis-js/js/NagVisShape.js
index ed8b36f..da7a637 100644
--- a/share/frontend/nagvis-js/js/NagVisShape.js
+++ b/share/frontend/nagvis-js/js/NagVisShape.js
@@ -87,15 +87,13 @@ var NagVisShape = NagVisStatelessObject.extend({
// Extract external URLs
if(this.conf.icon.match(/^\[(.*)\]$/))
this.conf.icon = this.conf.icon.replace(/^\[(.*)\]$/, '$1');
- else
- this.conf.icon = oGeneralProperties.path_shapes + this.conf.icon;
addZoomHandler(oIcon);
if(this.conf.icon.indexOf('?') !== -1) {
- oIcon.src = this.conf.icon+'&_t='+iNow;
+ oIcon.src = oGeneralProperties.path_shapes + this.conf.icon +
'&_t=' + iNow;
} else {
- oIcon.src = this.conf.icon+'?_t='+iNow;
+ oIcon.src = oGeneralProperties.path_shapes + this.conf.icon +
'?_t=' + iNow;
}
oIcon.alt = this.conf.type;
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins