Module: nagvis
Branch: master
Commit: 510880076570aae21123483e81132f11df612048
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=510880076570aae21123483e81132f11df612048

Author: Lars Michelsen <[email protected]>
Date:   Fri Dec 10 17:56:08 2010 +0100

Fixed wrong function call on automaps

---

 share/frontend/nagvis-js/js/frontend.js      |    2 +-
 share/server/core/classes/CoreModAutoMap.php |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/frontend/nagvis-js/js/frontend.js 
b/share/frontend/nagvis-js/js/frontend.js
index f682c99..314712c 100644
--- a/share/frontend/nagvis-js/js/frontend.js
+++ b/share/frontend/nagvis-js/js/frontend.js
@@ -1685,7 +1685,7 @@ function parseAutomap(iMapCfgAge, mapName) {
        bBlockUpdates = true;
        
        // Get new map/object information from ajax handler
-       oPageProperties = getMapProperties(mapName);
+       oPageProperties = getAutomapProperties(mapName);
        oPageProperties.view_type = 'automap';
        var oMapObjects = getSyncRequest(oGeneralProperties.path_server
                                                                                
          + '?mod=AutoMap&act=getAutomapObjects&show='
diff --git a/share/server/core/classes/CoreModAutoMap.php 
b/share/server/core/classes/CoreModAutoMap.php
index bf91628..b1f1b46 100644
--- a/share/server/core/classes/CoreModAutoMap.php
+++ b/share/server/core/classes/CoreModAutoMap.php
@@ -142,7 +142,7 @@ class CoreModAutoMap extends CoreModule {
        
        private function getAutomapProperties() {
                $MAPCFG = new NagVisAutomapCfg($this->CORE, $this->name);
-               $MAPCFG->readMapConfig();
+               $MAPCFG->readMapConfig(ONLY_GLOBAL);
                
                $arr = Array();
                $arr['map_name'] = $MAPCFG->getName();


------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to