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

Author: Lars Michelsen <[email protected]>
Date:   Tue Oct 19 21:01:59 2010 +0200

Fixed problem in WUI where the x/y coords were destroyed by a drag start and 
stop without moving the mouse on page

---

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

diff --git a/share/frontend/wui/js/wui.js b/share/frontend/wui/js/wui.js
index dc3c1c5..c8e043c 100644
--- a/share/frontend/wui/js/wui.js
+++ b/share/frontend/wui/js/wui.js
@@ -776,7 +776,7 @@ function dragStart(event) {
        
        draggingObject = target;
        draggingObject.x = draggingObject.offsetLeft;
-       draggingObject.y = draggingObject.offsetTop - getHeaderHeight();
+       draggingObject.y = draggingObject.offsetTop;
        
   // Save relative offset of the mouse to the snapin title to prevent flipping 
on drag start
   dragObjectOffset   = [ posy - draggingObject.offsetTop - getHeaderHeight(), 


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to