diff options
author | svncommit <devs@roundcube.net> | 2007-09-25 07:58:36 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2007-09-25 07:58:36 +0000 |
commit | f0db3d4cca4a95ace347bdd9bb012c7d48962a7d (patch) | |
tree | b29f864df60a8deb03121ed7a56dda7c0e2bf701 /program/steps | |
parent | bdfb98977b2e523801324c1a6d1421cdaee16e88 (diff) |
Create new folder as child of selected folder.
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/settings/manage_folders.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc index b39cef612..d960a1e13 100644 --- a/program/steps/settings/manage_folders.inc +++ b/program/steps/settings/manage_folders.inc @@ -53,7 +53,8 @@ else if ($_action=='create-folder') if ($create && $OUTPUT->ajax_call) { - $OUTPUT->command('add_folder_row', $create, rcube_charset_convert($create, 'UTF-7')); + $display_create = str_repeat(' ', substr_count($create, $IMAP->delimiter)) . preg_replace('/.*' . preg_quote($IMAP->delimiter) . '/', '', rcube_charset_convert($create, 'UTF-7')); + $OUTPUT->command('add_folder_row', $create, $display_create); $OUTPUT->send(); } else if (!$create && $OUTPUT->ajax_call) |