summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js
index dd99fd2f2..0385092d6 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -289,7 +289,9 @@ focus: function(e)
}
// Un-focus already focused elements (#1487123, #1487316, #1488600, #1488620)
+ // It looks that window.focus() does the job for all browsers, but not Firefox (#1489058)
$(':focus:not(body)').blur();
+ window.focus();
if (e || (e = window.event))
rcube_event.cancel(e);