From 287227502a35aa895c6ec218f3ead6b8bbf27926 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 11 Jun 2008 19:09:15 +0000 Subject: - focus the list after drag&drop --- program/js/list.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/js') 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); }, -- cgit v1.2.3