diff options
author | alecpl <alec@alec.pl> | 2011-12-28 09:37:17 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-28 09:37:17 +0000 |
commit | 79c6ac9b92bcf711c60b99a3316b2133967ee376 (patch) | |
tree | 67145a3c00ed81a0985d45bb7fc0edae1265000b /program/steps/settings | |
parent | 9fc4eb3f828335c8e375487c518b63d1fea46132 (diff) |
- Fix handling of INBOX's subfolders in special folders config (#1488279)
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/func.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 28da87628..fdb65ade9 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -686,8 +686,15 @@ function rcmail_user_prefs($current=null) // load folders list only when needed if ($current) { - $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, - 'maxlength' => 30, 'exceptions' => array('INBOX'), 'folder_filter' => 'mail', 'folder_rights' => 'w')); + $select = rcmail_mailbox_select(array( + 'noselection' => '---', + 'realnames' => true, + 'maxlength' => 30, + 'folder_filter' => 'mail', + 'folder_rights' => 'w', + // #1486114, #1488279 + 'onchange' => "if ($(this).val() == 'INBOX') $(this).val('')", + )); } else // dummy select $select = new html_select(); |