From da8f11ce163ffe3f88a359ae613aa144b16c73fc Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 15 Apr 2010 11:28:15 +0000 Subject: - Fix messages list scrolling in FF3.6 (#1486472) - Fix quicksearch input focus (#1486637) - Small code cleanup + improvements --- program/js/list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program/js/list.js') diff --git a/program/js/list.js b/program/js/list.js index ad640fb65..3e7bc6226 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -1159,6 +1159,8 @@ drag_mouse_up: function(e) this.draglayer.hide(); } + if (this.drag_active) + this.focus(); this.drag_active = false; rcube_event.remove_listener({event:'mousemove', object:this, method:'drag_mouse_move'}); @@ -1168,7 +1170,7 @@ drag_mouse_up: function(e) $('div.iframe-dragdrop-fix').each(function() { this.parentNode.removeChild(this); }); this.triggerEvent('dragend'); - + return rcube_event.cancel(e); }, -- cgit v1.2.3