Remove focus from quickview icon on mouse clicks (#4684)
This commit is contained in:
parent
e8c387ef0d
commit
a32690ad38
3 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
});
|
||||
|
|
|
@ -117,6 +117,9 @@ function kolab_folderlist(node, p)
|
|||
if (p.id_decode)
|
||||
id = p.id_decode(id);
|
||||
|
||||
if (!rcube_event.is_keyboard(e) && e.target.blur)
|
||||
e.target.blur();
|
||||
|
||||
// forward event
|
||||
if (prop = search_results[id]) {
|
||||
e.data = prop;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue