summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-14 15:22:16 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-14 15:22:16 +0200
commitb28a38c7575dd6068d9e1b7f95e391e214a52a78 (patch)
treed73404cf169729ed1995bc84d193f2afb4c618ff
parentc965c8abe1aa55a70844e2c95de9bb8d8293e9eb (diff)
- Fix Remove from group option is active for contact search result (#1488608)
-rw-r--r--CHANGELOG1
-rw-r--r--program/js/app.js3
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 827bb5c0c..8e585822b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix Remove from group option is active for contact search result (#1488608)
- Disable autocapitalization in login form on iPad/iPhone (#1488609)
- Fix focus on the list when list row is clicked (#1488600)
- Added separate From and To columns apart from smart From/To column (#1486891)
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);