Aleksander Machniak
2014-12-08 a3873bd93caef820eafa8752b14593dff6335a4c
Enable menu-* actions when UI is locked
1 files modified
5 ■■■■■ changed files
program/js/app.js 5 ●●●●● patch | view | raw | blame | history
program/js/app.js
@@ -630,8 +630,9 @@
    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)