diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-14 15:22:16 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-14 15:22:54 +0200 |
commit | 15f63ce4b3d7d179a9dc709c5fa3427117248a4e (patch) | |
tree | ae1eb21117bc2ff84e7bbb962f78e7f4ebf2a813 /program/js/app.js | |
parent | 327d9339c4b910e4538b5d8f98400ceab1718cac (diff) |
- Fix Remove from group option is active for contact search result (#1488608)
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js index b80efea58..e6b040c68 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4000,8 +4000,7 @@ function rcube_webmail() // if a group is currently selected, and there is at least one contact selected // thend we can enable the group-remove-selected command - this.enable_command('group-remove-selected', typeof this.env.group != 'undefined' && list.selection.length > 0); - + this.enable_command('group-remove-selected', this.env.group && list.selection.length > 0); this.enable_command('compose', this.env.group || list.selection.length > 0); this.enable_command('edit', id && writable); this.enable_command('delete', list.selection.length && writable); |