summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-06-02 15:46:14 +0000
committerthomascube <thomas@roundcube.net>2009-06-02 15:46:14 +0000
commit9489adc5936fd516f3f6df91cfce3697b36e2cf1 (patch)
tree1c8b29d6883b2f96025fcf59098d4f7820ac6acb /program/js/list.js
parenta36cf6d2373f71f3293dbf743117009caab1a77a (diff)
Fix list events used in drag&drop functionality (#1485890)
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 51889fa30..aa34546f4 100644
--- a/program/js/list.js
+++ b/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;