summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-14 18:55:38 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-14 18:55:38 +0200
commit519e380f637cbc8d2b5c3d7a0d34508ac17d57d8 (patch)
tree0faa5eead671c4e47139e165dba82b27d762fae2 /program/js/app.js
parent413df054ad3235c59c24e897b616c569adc4f67b (diff)
parent56689b31ae3746600b12a9c5c9ec1438e704a6e7 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 214a5cb80..de61b21f1 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4031,8 +4031,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);