summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-12-08 10:00:42 +0100
committerAleksander Machniak <alec@alec.pl>2014-12-08 10:00:42 +0100
commita3873bd93caef820eafa8752b14593dff6335a4c (patch)
tree68c7674467926ebd4d3ce0946326cb85a09dfee0 /program
parentb262e129642db5a9fef0c734b81394c953cad7aa (diff)
Enable menu-* actions when UI is locked
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index fd0d2e12f..a7b45cae3 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -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)