From 432a614ab6e01ea5bd8876a267de67a9ee3fd544 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 09 Apr 2009 15:38:50 -0400 Subject: [PATCH] - Fix drag&drop with scrolling on IE (#1485786) --- program/js/list.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/list.js b/program/js/list.js index 1fe493c..7bae7a5 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -774,7 +774,7 @@ 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); } -- Gitblit v1.9.1