Module: nagvis
Branch: master
Commit: c41487fd8c79a20d673440f4de6cbf735a6c4b84
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=c41487fd8c79a20d673440f4de6cbf735a6c4b84

Author: Lars Michelsen <[email protected]>
Date:   Sun Sep 19 21:40:56 2010 +0200

#354 Fixed zIndex calculations for object labels

---

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

diff --git a/share/frontend/nagvis-js/js/nagvis.js 
b/share/frontend/nagvis-js/js/nagvis.js
index ffe5364..630c03f 100644
--- a/share/frontend/nagvis-js/js/nagvis.js
+++ b/share/frontend/nagvis-js/js/nagvis.js
@@ -932,7 +932,7 @@ function drawNagVisTextbox(id, className, bgColor, 
borderColor, x, y, z, w, h, t
                        oLabelDiv.style.height = h+'px';
                }
                
-               oLabelDiv.style.zIndex = z + 1;
+               oLabelDiv.style.zIndex = parseInt(z) + 1;
                oLabelDiv.style.overflow = 'visible';
                
                /**


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to