Enable menu-* actions when UI is locked

pull/251/head
Aleksander Machniak 11 years ago
parent b262e12964
commit a3873bd93c

@ -630,8 +630,9 @@ function rcube_webmail()
if (obj && obj.blur && !(event && rcube_event.is_keyboard(event)))
obj.blur();
// do nothing if interface is locked by other command (with exception for searching reset)
if (this.busy && !(command == 'reset-search' && this.last_command == 'search'))
// do nothing if interface is locked by another command
// with exception for searching reset and menu
if (this.busy && !(command == 'reset-search' && this.last_command == 'search') && !command.match(/^menu-/))
return false;
// let the browser handle this click (shift/ctrl usually opens the link in a new window/tab)

Loading…
Cancel
Save