Module: nagvis Branch: nagvis-1.5 Commit: a6cf1183d1f5a91def8929bd0ed5d09101f408e8 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=a6cf1183d1f5a91def8929bd0ed5d09101f408e8
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 74eb70b..de2bf23 100644 --- a/share/frontend/nagvis-js/js/frontend.js +++ b/share/frontend/nagvis-js/js/frontend.js @@ -1637,7 +1637,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
