diff options
author | alecpl <alec@alec.pl> | 2010-04-15 11:28:15 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-04-15 11:28:15 +0000 |
commit | da8f11ce163ffe3f88a359ae613aa144b16c73fc (patch) | |
tree | 73a8f9c733d73c53e1b75362a155834f68bcac0c /program/js/list.js | |
parent | 8a79f224c28a10fc2edc5a1ab1ebc608058bda34 (diff) |
- Fix messages list scrolling in FF3.6 (#1486472)
- Fix quicksearch input focus (#1486637)
- Small code cleanup + improvements
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 4 |
1 files changed, 3 insertions, 1 deletions
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); }, |