summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-11 21:53:33 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-11 21:53:33 +0200
commit3c7346a40b2aefb3b2178516868dc9dca1adfe88 (patch)
tree4913eb79a00dace1d47e2738e50e284e8a73665e
parent2c59937c6af621f16fd31e9ce6ac01b25151bda5 (diff)
Fix focus on the list when list row is clicked (#1488600)
-rw-r--r--CHANGELOG1
-rw-r--r--program/js/list.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 47909f379..3441f1e03 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix focus on the list when list row is clicked (#1488600)
- Added separate From and To columns apart from smart From/To column (#1486891)
- Fix fallback to Larry skin when configured skin isn't available (#1488591)
- Fix (workaround) delete operations with some versions of memcache (#1488592)
diff --git a/program/js/list.js b/program/js/list.js
index b194721f4..e84124b7c 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -232,7 +232,7 @@ focus: function(e)
}
// Un-focus already focused elements
- $('*:focus', window).blur();
+ $(document.activeElement).blur();
$('iframe').each(function() { this.blur(); });
if (e || (e = window.event))