Module: nagvis
Branch: master
Commit: b10ea5986346db93bf9f6ec9a8bfac31470256f0
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=b10ea5986346db93bf9f6ec9a8bfac31470256f0

Author: Lars Michelsen <[email protected]>
Date:   Wed Sep  2 17:28:39 2009 +0200

#91 Ampersands and other special chars can be used in hover_urls now

---

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

diff --git a/share/nagvis/includes/js/frontend.js 
b/share/nagvis/includes/js/frontend.js
index 986dec6..6acaef9 100755
--- a/share/nagvis/includes/js/frontend.js
+++ b/share/nagvis/includes/js/frontend.js
@@ -155,7 +155,7 @@ function setMapHoverUrls() {
        // Build string for bulk fetching the templates
        for(var i in oHoverUrls) {
                if(i != 'Inherits') {
-                       aUrlParts.push('&url[]='+i);
+                       aUrlParts.push('&url[]='+escapeUrlValues(i));
                }
        }
        


------------------------------------------------------------------------------
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