- Fix DEL key problem in search boxes (#1485528)

release-0.6
alecpl 15 years ago
parent 942069969c
commit 58c9dd7293

@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail CHANGELOG RoundCube Webmail
=========================== ===========================
- Fix DEL key problem in search boxes (#1485528)
- Support several e-mail addresses per user from virtuser_file (#1485678) - Support several e-mail addresses per user from virtuser_file (#1485678)
- Fix drag&drop with scrolling on IE (#1485786) - Fix drag&drop with scrolling on IE (#1485786)
- Fix adding signature separator in html mode (#1485350) - Fix adding signature separator in html mode (#1485350)

@ -1158,7 +1158,7 @@ function rcube_webmail()
this.doc_mouse_up = function(e) this.doc_mouse_up = function(e)
{ {
var model, li; var model, li;
if (this.message_list) { if (this.message_list) {
this.message_list.blur(); this.message_list.blur();
model = this.env.mailboxes; model = this.env.mailboxes;
@ -1170,7 +1170,7 @@ function rcube_webmail()
else if (this.ksearch_value) { else if (this.ksearch_value) {
this.ksearch_blur(); this.ksearch_blur();
} }
// handle mouse release when dragging // handle mouse release when dragging
if (this.drag_active && model && this.env.last_folder_target) { if (this.drag_active && model && this.env.last_folder_target) {
this.set_classname(this.get_folder_li(this.env.last_folder_target), 'droptarget', false); 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) this.click_on_list = function(e)
{ {
if (this.gui_objects.qsearchbox)
this.gui_objects.qsearchbox.blur();
if (this.message_list) if (this.message_list)
this.message_list.focus(); this.message_list.focus();
else if (this.contact_list) else if (this.contact_list)
this.contact_list.focus(); this.contact_list.focus();
var mbox_li; var mbox_li;
if (mbox_li = this.get_folder_li()) if (mbox_li = this.get_folder_li())

@ -824,8 +824,6 @@ drag_mouse_up: function(e)
} }
} }
this.focus();
return rcube_event.cancel(e); return rcube_event.cancel(e);
}, },

Loading…
Cancel
Save