Permalink
Browse files

fix minor js bug on DnD with IE7

  • Loading branch information...
1 parent 0e90c7e commit 2ead5b386078b69dd0b16df7c1dbbacc1683bdd9 phuong_vu committed with trongtt Jul 24, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop.js
@@ -57,9 +57,8 @@ function DragDrop() {
var ex = e.pageX;
var jRoot = gj(o.root);
- var position = jRoot.position();
- var y = position.top;
- var x = position.left;
+ var y = parseInt(jRoot.css("top"));
+ var x = parseInt(jRoot.css("left"));
var nx, ny;
nx = x + (ex - o.lastMouseX);

0 comments on commit 2ead5b3

Please sign in to comment.