summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-04 13:56:08 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-04 13:56:08 +0200
commit76a98da33e3724ce4007031a7f75890a8e74c85b (patch)
tree81df87255503e6e20b1d2e3f7e7fb2cb23c3b8d5 /program/js
parent99edf8699a1b79cdb4a2398680f8f4e97292e2f3 (diff)
Pass event object as an argument of 'dragend' event handler
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/list.js b/program/js/list.js
index b677efeaa..8b4857d6d 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -1229,7 +1229,7 @@ drag_mouse_up: function(e)
// remove temp divs
this.del_dragfix();
- this.triggerEvent('dragend');
+ this.triggerEvent('dragend', e);
return rcube_event.cancel(e);
},
@@ -1342,7 +1342,7 @@ column_drag_mouse_up: function(e)
}
}
- this.triggerEvent('column_dragend');
+ this.triggerEvent('column_dragend', e);
return rcube_event.cancel(e);
},