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

Author: Lars Michelsen <[email protected]>
Date:   Thu Dec  2 20:12:32 2010 +0100

Fixed js parsing error in some cases

---

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

diff --git a/share/frontend/nagvis-js/js/lines.js 
b/share/frontend/nagvis-js/js/lines.js
index dca1cb6..f512f77 100644
--- a/share/frontend/nagvis-js/js/lines.js
+++ b/share/frontend/nagvis-js/js/lines.js
@@ -149,7 +149,8 @@ function drawLinkArea(objectId, lx, ly, z) {
        oImg.style.height = 20;
        oImg.style.zIndex = parseInt(z)+1;
        
-       oLinkContainer.appendChild(oImg);
+       if(oLinkContainer)
+               oLinkContainer.appendChild(oImg);
        oImg = null;
 
        oLinkContainer = null;


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to