summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-06-11 19:09:15 +0000
committeralecpl <alec@alec.pl>2008-06-11 19:09:15 +0000
commit287227502a35aa895c6ec218f3ead6b8bbf27926 (patch)
tree479a96686d99768f3097c92eab885f6665504d81 /program
parent36bee3f1463b40e2a67cac4c6c649f9f397d9d3d (diff)
- focus the list after drag&drop
Diffstat (limited to 'program')
-rw-r--r--program/js/list.js2
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);
},