Author:   Lars Michelsen <[email protected]>
Date:     Tue Dec 13 14:13:11 2011 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Tue Dec 13 14:13:11 2011 +0100

Ajax call for redrawing map objects is not cacheable anymore (prevent
strange hopping of icons after unlock -> edit -> lock in some cases.

---

 ChangeLog                               |    4 ++++
 share/frontend/nagvis-js/js/frontend.js |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6106832..1e635c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 Core
   * LogonDialog: Changed _origin parameter to _origtarget to support current 
multisite
 
+Frontend
+  * Ajax call for redrawing map objects is not cacheable anymore (prevent 
strange
+    hopping of icons after unlock -> edit -> lock in some cases.
+
 1.6
 Core
   * Implented conf.d/ directory to have an optional modular main configuration
diff --git a/share/frontend/nagvis-js/js/frontend.js 
b/share/frontend/nagvis-js/js/frontend.js
index 6fb926c..e510722 100644
--- a/share/frontend/nagvis-js/js/frontend.js
+++ b/share/frontend/nagvis-js/js/frontend.js
@@ -1657,9 +1657,9 @@ function parseMap(iMapCfgAge, type, mapName) {
     if(type === 'automap')
         oObjects = getSyncRequest(oGeneralProperties.path_server
                                   + '?mod=AutoMap&act=getAutomapObjects&show='
-                                  + mapName+getAutomapParams());
+                                  + mapName+getAutomapParams(), false);
     else
-        oObjects = 
getSyncRequest(oGeneralProperties.path_server+'?mod=Map&act=getMapObjects&show='+mapName);
+        oObjects = 
getSyncRequest(oGeneralProperties.path_server+'?mod=Map&act=getMapObjects&show='+mapName,
 false);
 
     // Only perform the reparsing actions when all information are there
     if(oPageProperties && oObjects) {


------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to