Author: Lars Michelsen <[email protected]>
Date: Fri Mar 23 10:51:40 2012 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Fri Mar 23 10:51:40 2012 +0100
Fixed hover menu hiding using the source params
---
share/frontend/nagvis-js/classes/NagVisMapView.php | 4 ++--
share/frontend/nagvis-js/js/NagVisObject.js | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/share/frontend/nagvis-js/classes/NagVisMapView.php
b/share/frontend/nagvis-js/classes/NagVisMapView.php
index 66eb58c..0abd678 100644
--- a/share/frontend/nagvis-js/classes/NagVisMapView.php
+++ b/share/frontend/nagvis-js/classes/NagVisMapView.php
@@ -132,8 +132,8 @@ class NagVisMapView {
// treated and only the user specified source params must be applied
here
// (no global, no hardcoded default)
$userParams = $this->MAPCFG->getSourceParams(true);
- if(isset($userParams['header_menu']))
- $arr['header_menu'] = $userParams['header_menu'];
+ if(isset($userParams['hover_menu']))
+ $arr['hover_menu'] = $userParams['hover_menu'];
if(isset($userParams['context_menu']))
$arr['context_menu'] = $userParams['context_menu'];
diff --git a/share/frontend/nagvis-js/js/NagVisObject.js
b/share/frontend/nagvis-js/js/NagVisObject.js
index 021baa1..88fce0c 100644
--- a/share/frontend/nagvis-js/js/NagVisObject.js
+++ b/share/frontend/nagvis-js/js/NagVisObject.js
@@ -55,6 +55,7 @@ var NagVisObject = Base.extend({
// Load lock options
this.loadLocked();
+ this.loadViewOpts();
},
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins