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

Author: LaMi <[email protected]>
Date:   Thu Jan 14 18:58:54 2010 +0100

Fixed currentMap macro in WUI

---

 .../nagvis-js/classes/NagVisHeaderMenu.php         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/frontend/nagvis-js/classes/NagVisHeaderMenu.php 
b/share/frontend/nagvis-js/classes/NagVisHeaderMenu.php
index 772a814..bc00c8a 100644
--- a/share/frontend/nagvis-js/classes/NagVisHeaderMenu.php
+++ b/share/frontend/nagvis-js/classes/NagVisHeaderMenu.php
@@ -122,7 +122,7 @@ class NagVisHeaderMenu {
                
                
                // Replace some special macros
-               if($this->OBJPAGE !== null && ($objPageClass == 'NagVisMapCfg' 
|| $objPageClass == 'NagVisAutomapCfg')) {
+               if($this->OBJPAGE !== null && ($objPageClass == 'NagVisMapCfg' 
|| $objPageClass == 'NagVisAutomapCfg' || $objPageClass == 'WuiMapCfg')) {
                        $this->aMacros['currentMap'] = 
$this->OBJPAGE->getName();
                        $this->aMacros['currentMapAlias'] = 
$this->OBJPAGE->getValue('global', '0', 'alias');
                } else {


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to