Author:   Lars Michelsen <[email protected]>
Date:     Thu Jul 19 09:03:12 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Thu Jul 19 09:03:12 2012 +0200

Bugfix: Fixed zoom for labels in chrome

---

 .../frontend/nagvis-js/js/NagVisStatefulObject.js  |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/share/frontend/nagvis-js/js/NagVisStatefulObject.js 
b/share/frontend/nagvis-js/js/NagVisStatefulObject.js
index 8a428ec..8c393e2 100644
--- a/share/frontend/nagvis-js/js/NagVisStatefulObject.js
+++ b/share/frontend/nagvis-js/js/NagVisStatefulObject.js
@@ -219,20 +219,21 @@ var NagVisStatefulObject = NagVisObject.extend({
             break;
         }
 
-        // Parse label when configured
-        if(this.conf.label_show && this.conf.label_show == '1') {
-            this.parseLabel(oContainerDiv);
-        }
-
         // Append child to map and save reference in parsedObject
         var oMap = doc.getElementById('map');
         if(oMap) {
             this.parsedObject = oMap.appendChild(oContainerDiv);
             oMap = null;
         }
-        oContainerDiv = null;
         doc = null;
 
+        // Parse label when configured
+        if(this.conf.label_show && this.conf.label_show == '1') {
+            this.parseLabel(oContainerDiv);
+        }
+
+        oContainerDiv = null;
+
         // Now really draw the line when this is one
         if(this.conf.view_type && this.conf.view_type == 'line')
             this.drawLine();


------------------------------------------------------------------------------
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