diff options
Diffstat (limited to 'program/steps/settings')
-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) |