summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/search.inc
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/steps/addressbook/search.inc
parent413df054ad3235c59c24e897b616c569adc4f67b (diff)
parent56689b31ae3746600b12a9c5c9ec1438e704a6e7 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/steps/addressbook/search.inc')
-rw-r--r--program/steps/addressbook/search.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/program/steps/addressbook/search.inc b/program/steps/addressbook/search.inc
index d31e54b1a..851325070 100644
--- a/program/steps/addressbook/search.inc
+++ b/program/steps/addressbook/search.inc
@@ -237,9 +237,12 @@ function rcmail_contact_search()
$OUTPUT->command('set_env', 'source', '');
$OUTPUT->command('set_env', 'group', '');
- // unselect currently selected directory/group
- if (!$sid)
+ if (!$sid) {
+ // unselect currently selected directory/group
$OUTPUT->command('unselect_directory');
+ // enable "Save search" command
+ $OUTPUT->command('enable_command', 'search-create', true);
+ }
$OUTPUT->command('update_group_commands');
// send response