summaryrefslogtreecommitdiff
path: root/plugins/tasklist
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-03-11 09:35:26 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-03-11 09:35:26 (GMT)
commita32690ad38807f33d5429035417c2446b4a55d84 (patch)
tree1e8314cfb76aaa3e66700d7477859bcc1fcaa0fd /plugins/tasklist
parente8c387ef0d5a1851cbf7f819de722f25c623ed4e (diff)
downloadroundcubemail-plugins-kolab-a32690ad38807f33d5429035417c2446b4a55d84.tar.gz
Remove focus from quickview icon on mouse clicks (#4684)
Diffstat (limited to 'plugins/tasklist')
-rw-r--r--plugins/tasklist/tasklist.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/tasklist/tasklist.js b/plugins/tasklist/tasklist.js
index c8faa87..7adf608 100644
--- a/plugins/tasklist/tasklist.js
+++ b/plugins/tasklist/tasklist.js
@@ -240,6 +240,9 @@ function rcube_tasklist_ui(settings)
if (tasklists_widget.is_search())
id = id.replace(/--xsR$/, '');
+ if (!rcube_event.is_keyboard(e) && this.blur)
+ this.blur();
+
set_focusview(id, e.shiftKey || e.metaKey || e.ctrlKey);
e.stopPropagation();
return false;