summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-06 08:14:48 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-06 08:14:48 +0000
commit138922495bf2a83821b778d094f4710365029cb1 (patch)
tree45ab345d3853f7902347e76e5d1babb70903d21d /roundcubemail/program/steps/mail/compose.inc
parentf65d3eac99ab06a32d2f15b5a9653ece8ae3dda9 (diff)
- Add possibility (for plugins) to filter folders lists by some additional criteria (e.g. folder type)
git-svn-id: https://svn.roundcube.net/trunk@4735 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/compose.inc')
-rw-r--r--roundcubemail/program/steps/mail/compose.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index 531e698a8..4fe924409 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -1297,7 +1297,10 @@ function rcmail_editor_selector($attrib)
function rcmail_store_target_selection($attrib)
{
$attrib['name'] = '_store_target';
- $select = rcmail_mailbox_select(array_merge($attrib, array('noselection' => '- '.rcube_label('dontsave').' -')));
+ $select = rcmail_mailbox_select(array_merge($attrib, array(
+ 'noselection' => '- '.rcube_label('dontsave').' -',
+ 'folder_filter' => 'mail'
+ )));
return $select->show($_SESSION['compose']['param']['sent_mbox'], $attrib);
}