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

Author: Lars Michelsen <[email protected]>
Date:   Tue Sep  8 21:27:19 2009 +0200

#8 fixed header menu dropdown map change

---

 share/frontend/nagvis-js/js/nagvis.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/frontend/nagvis-js/js/nagvis.js 
b/share/frontend/nagvis-js/js/nagvis.js
index fab2622..e34836e 100644
--- a/share/frontend/nagvis-js/js/nagvis.js
+++ b/share/frontend/nagvis-js/js/nagvis.js
@@ -368,12 +368,12 @@ function switchRotation(obj, startLabel, stopLabel) {
 
 function changeMap(htmlBase, mapName) {
        if(mapName.match('^automap=')) {
-               location.href=htmlBase+'/nagvis/index.php?' + mapName;
+               location.href=htmlBase+'/frontend/nagvis-js/index.php?' + 
mapName;
        } else {
                if (mapName === '') {
-                       location.href=htmlBase+'/nagvis/index.php';
+                       location.href=htmlBase+'/frontend/nagvis-js/index.php';
                } else {
-                       location.href=htmlBase+'/nagvis/index.php?map=' + 
mapName;
+                       
location.href=htmlBase+'/frontend/nagvis-js/index.php?map=' + mapName;
                }
        }
 }


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to