From 03da3ea6ff13903deea76b551b2817f32494fd5b Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 2 Jun 2009 15:46:14 +0000 Subject: Fix list events used in drag&drop functionality (#1485890) git-svn-id: https://svn.roundcube.net/trunk@2592 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 51889fa30..aa34546f4 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -805,7 +805,7 @@ drag_mouse_move: function(e) { var pos = rcube_event.get_mouse_pos(e); this.draglayer.css({ left:(pos.x+20)+'px', top:(pos.y-5 + (bw.ie ? document.documentElement.scrollTop : 0))+'px' }); - this.triggerEvent('dragmove', e); + this.triggerEvent('dragmove', e?e:window.event); } this.drag_start = false; -- cgit v1.2.3