- Fix focused elements aren't unfocused when clicking on the list (#1487123)

release-0.6
alecpl 14 years ago
parent 6084d782f2
commit 2c200021fd

@ -70,6 +70,7 @@ CHANGELOG Roundcube Webmail
- Fix handling of folders with "<>" characters in name - Fix handling of folders with "<>" characters in name
- jQuery 1.4.4 - jQuery 1.4.4
- Fix handling of HTML entity strings in plain text messages - Fix handling of HTML entity strings in plain text messages
- Fix focused elements aren't unfocused when clicking on the list (#1487123)
RELEASE 0.4.2 RELEASE 0.4.2
------------- -------------

@ -214,6 +214,7 @@ focus: function(e)
{ {
var id; var id;
this.focused = true; this.focused = true;
for (var n in this.selection) { for (var n in this.selection) {
id = this.selection[n]; id = this.selection[n];
if (this.rows[id] && this.rows[id].obj) { if (this.rows[id] && this.rows[id].obj) {
@ -221,6 +222,9 @@ focus: function(e)
} }
} }
// Un-focus already focused elements
$('*:focus').blur();
if (e || (e = window.event)) if (e || (e = window.event))
rcube_event.cancel(e); rcube_event.cancel(e);
}, },

Loading…
Cancel
Save