Author: Lars Michelsen <[email protected]>
Date: Fri Sep 23 19:57:19 2011 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Fri Sep 23 19:57:19 2011 +0200
Only add view_type attribute when not icon
---
share/frontend/nagvis-js/js/edit.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/share/frontend/nagvis-js/js/edit.js
b/share/frontend/nagvis-js/js/edit.js
index bfd06df..7fde1d3 100644
--- a/share/frontend/nagvis-js/js/edit.js
+++ b/share/frontend/nagvis-js/js/edit.js
@@ -450,7 +450,9 @@ function addClick(e) {
+ '&type=' + addObjType
+ '&x=' + addX.join(',')
+ '&y=' + addY.join(',')
- + '&view_type=' + addViewType;
+
+ if(addViewType != 'icon')
+ sUrl += '&view_type=' + addViewType;
if(addAction == 'clone' && objid !== -1)
sUrl += '&clone_id='+objid;
------------------------------------------------------------------------------
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-d2dcopy2
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins