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

Author: LaMi <[email protected]>
Date:   Thu Mar 11 15:16:22 2010 +0100

Fixed copy/paste bug ...

---

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

diff --git a/share/frontend/nagvis-js/js/NagVisObject.js 
b/share/frontend/nagvis-js/js/NagVisObject.js
index 32b2c82..fb43f0d 100644
--- a/share/frontend/nagvis-js/js/NagVisObject.js
+++ b/share/frontend/nagvis-js/js/NagVisObject.js
@@ -170,15 +170,15 @@ var NagVisObject = Base.extend({
                if(this.conf.type === 'service') {
                        oMacros.service_description = 
escapeUrlValues(this.conf.service_description);
                        
-                       oMacros.pnp_hostname = 
oObj.conf.name.replace(/\s/g,'%20');
-                       oMacros.pnp_service_description = 
oObj.conf.service_description.replace(/\s/g,'%20');
+                       oMacros.pnp_hostname = 
this.conf.name.replace(/\s/g,'%20');
+                       oMacros.pnp_service_description = 
this.conf.service_description.replace(/\s/g,'%20');
                } else {
                        oSectionMacros.service = 
'<!--\\sBEGIN\\sservice\\s-->.+?<!--\\sEND\\sservice\\s-->';
                }
                
                // Macros which are only for hosts
                if(this.conf.type === 'host') {
-                       oMacros.pnp_hostname = 
oObj.conf.name.replace(/\s/g,'%20');
+                       oMacros.pnp_hostname = 
this.conf.name.replace(/\s/g,'%20');
                } else {
                        oSectionMacros.host = 
'<!--\\sBEGIN\\shost\\s-->.+?<!--\\sEND\\shost\\s-->';
                }


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to