diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-04-10 11:11:45 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-04-10 11:11:45 +0000 |
| commit | 1f69ba7cc5a66e448a4181ea9676a5b2979ad08c (patch) | |
| tree | d50e808c0c08509e94105a9f3a0dc69d59ebf6af /roundcubemail/program/js | |
| parent | c311601baea5cdc0358c742166d248606624cdd4 (diff) | |
- Fix DEL key problem in search boxes (#1485528)
git-svn-id: https://svn.roundcube.net/trunk@2385 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 9 | ||||
| -rw-r--r-- | roundcubemail/program/js/list.js | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 7f60de544..42ea5d95d 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1158,7 +1158,7 @@ function rcube_webmail() this.doc_mouse_up = function(e) { var model, li; - + if (this.message_list) { this.message_list.blur(); model = this.env.mailboxes; @@ -1170,7 +1170,7 @@ function rcube_webmail() else if (this.ksearch_value) { this.ksearch_blur(); } - + // handle mouse release when dragging if (this.drag_active && model && this.env.last_folder_target) { this.set_classname(this.get_folder_li(this.env.last_folder_target), 'droptarget', false); @@ -1299,10 +1299,13 @@ function rcube_webmail() this.click_on_list = function(e) { + if (this.gui_objects.qsearchbox) + this.gui_objects.qsearchbox.blur(); + if (this.message_list) this.message_list.focus(); else if (this.contact_list) - this.contact_list.focus(); + this.contact_list.focus(); var mbox_li; if (mbox_li = this.get_folder_li()) diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 7bae7a5f6..7d16080c5 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -824,8 +824,6 @@ drag_mouse_up: function(e) } } - this.focus(); - return rcube_event.cancel(e); }, |
