summaryrefslogtreecommitdiff
path: root/plugins/calendar
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/calendar
parente8c387ef0d5a1851cbf7f819de722f25c623ed4e (diff)
downloadroundcubemail-plugins-kolab-a32690ad38807f33d5429035417c2446b4a55d84.tar.gz
Remove focus from quickview icon on mouse clicks (#4684)
Diffstat (limited to 'plugins/calendar')
-rw-r--r--plugins/calendar/calendar_ui.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js
index 633d1d5..06e8759 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -3685,6 +3685,7 @@ function rcube_calendar_ui(settings)
add_calendar_source(event.data);
}
me.quickview(event.data.id, event.shiftKey || event.metaKey || event.ctrlKey);
+ return false;
}
});
@@ -3736,6 +3737,9 @@ function rcube_calendar_ui(settings)
if (me.calendars[id])
me.quickview(id, e.shiftKey || e.metaKey || e.ctrlKey);
+ if (!rcube_event.is_keyboard(e) && this.blur)
+ this.blur();
+
e.stopPropagation();
return false;
});