Author:   Lars Michelsen <[email protected]>
Date:     Tue Jun 28 21:55:10 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Tue Jun 28 21:55:10 2011 +0200

automap: Hiding switch root context menu on non automap views

---

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

diff --git a/share/frontend/nagvis-js/js/NagVisObject.js 
b/share/frontend/nagvis-js/js/NagVisObject.js
index 0d18476..b10b0ff 100644
--- a/share/frontend/nagvis-js/js/NagVisObject.js
+++ b/share/frontend/nagvis-js/js/NagVisObject.js
@@ -221,6 +221,7 @@ var NagVisObject = Base.extend({
             if(this.conf.name === getUrlParam('root'))
                oSectionMacros.automap_not_root = 
'<!--\\sBEGIN\\sautomap_not_root\\s-->.+?<!--\\sEND\\sautomap_not_root\\s-->';
         } else {
+           oSectionMacros.automap_not_root = 
'<!--\\sBEGIN\\sautomap_not_root\\s-->.+?<!--\\sEND\\sautomap_not_root\\s-->';
             oSectionMacros.automap = 
'<!--\\sBEGIN\\sautomap\\s-->.+?<!--\\sEND\\sautomap\\s-->';
         }
         if(this.conf.view_type !== 'line')


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to