Author:   Lars Michelsen <[email protected]>
Date:     Sat Jun 23 14:14:17 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sat Jun 23 14:14:17 2012 +0200

Bugfix: Fixed bug which suppressed the hover menu on overview page in some cases

---

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

diff --git a/ChangeLog b/ChangeLog
index e1cf3fb..4c6e8b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,8 +11,9 @@ Frontend
   * Added new options event_repeat_interval and event_repeat_duration to 
     configured repeated frontend events
   * Added rotations to sidebar
-  * Bugfix: When releasing relative coordinates the parent object is not 
highlighted anymore
   * Info page shows json_encode/json_decode capability of used PHP
+  * Bugfix: When releasing relative coordinates the parent object is not 
highlighted anymore
+  * Bugfix: Fixed bug which suppressed the hover menu on overview page in some 
cases
 
 1.7b2
 Core
diff --git a/share/frontend/nagvis-js/js/NagVisObject.js 
b/share/frontend/nagvis-js/js/NagVisObject.js
index 3edc70d..ed2e364 100644
--- a/share/frontend/nagvis-js/js/NagVisObject.js
+++ b/share/frontend/nagvis-js/js/NagVisObject.js
@@ -68,6 +68,10 @@ var NagVisObject = Base.extend({
      * state is not saved to the user properties.
      */
     loadLocked: function() {
+        // Editing is only possible in maps
+        if(oPageProperties.view_type != 'map')
+            return;
+
         if(!oUserProperties.hasOwnProperty('unlocked-' + 
oPageProperties.map_name))
             return;
 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to