diff options
author | alecpl <alec@alec.pl> | 2008-06-11 19:09:15 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-06-11 19:09:15 +0000 |
commit | 287227502a35aa895c6ec218f3ead6b8bbf27926 (patch) | |
tree | 479a96686d99768f3097c92eab885f6665504d81 | |
parent | 36bee3f1463b40e2a67cac4c6c649f9f397d9d3d (diff) |
- focus the list after drag&drop
-rw-r--r-- | program/js/list.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js index e4d05e315..bdcf87932 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -692,6 +692,8 @@ drag_mouse_up: function(e) rcube_event.remove_listener({element:document, event:'mousemove', object:this, method:'drag_mouse_move'}); rcube_event.remove_listener({element:document, event:'mouseup', object:this, method:'drag_mouse_up'}); + this.focus(); + return rcube_event.cancel(e); }, |