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

Author: LaMi <[email protected]>
Date:   Tue Jan  5 11:45:09 2010 +0100

Dragging over header menu is not possible anymore

---

 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 3aaa685..421dd8b 100644
--- a/share/frontend/wui/js/wui.js
+++ b/share/frontend/wui/js/wui.js
@@ -304,7 +304,7 @@ function saveObjectAfterResize(oObj) {
 
 function saveObjectAfterMoveAndDrop(oObj) {
        // When x or y are negative just return this and make no change
-       if(oObj.y < 0 || oObj.x < 0) {
+       if((oObj.y - getHeaderHeight()) < 0 || oObj.x < 0) {
                oObj.moveTo(oObj.oldX, oObj.oldY);
                return;
        }


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to