From f1408450f456b4f1bcb89c480106012f11e01607 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 9 Apr 2009 19:38:50 +0000 Subject: - Fix drag&drop with scrolling on IE (#1485786) git-svn-id: https://svn.roundcube.net/trunk@2382 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/js/list.js') diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 1fe493ca9..7bae7a5f6 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -774,7 +774,7 @@ drag_mouse_move: function(e) if (this.drag_active && this.draglayer) { var pos = rcube_event.get_mouse_pos(e); - this.draglayer.move(pos.x+20, pos.y-5); + this.draglayer.move(pos.x+20, bw.ie ? pos.y-5+document.documentElement.scrollTop : pos.y-5); this.trigger_event('dragmove', e); } -- cgit v1.2.3