summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/list.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-15 11:28:15 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-04-15 11:28:15 +0000
commit59d1b04baff3f5a94ff546f08ac52050e939bcef (patch)
treed1edd5beefc31a9f53f9e51e2b25b088dafefb2d /roundcubemail/program/js/list.js
parent58576153fd195361b567cfb2e55f785e872909dd (diff)
- Fix messages list scrolling in FF3.6 (#1486472)
- Fix quicksearch input focus (#1486637) - Small code cleanup + improvements git-svn-id: https://svn.roundcube.net/trunk@3492 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/list.js')
-rw-r--r--roundcubemail/program/js/list.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js
index ad640fb65..3e7bc6226 100644
--- a/roundcubemail/program/js/list.js
+++ b/roundcubemail/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);
},