Set edited folder name to client environment

pull/212/head
Aleksander Machniak 10 years ago
parent aecdf0644d
commit b2a15c2c19

@ -287,6 +287,7 @@ function rcmail_folder_form($attrib)
$out .= "\n$form_end";
$RCMAIL->output->set_env('messagecount', (int) $msgcount);
$RCMAIL->output->set_env('folder', $mbox);
if ($mbox !== null && empty($_POST)) {
$RCMAIL->output->command('parent.set_quota', $RCMAIL->quota_content(null, $mbox));

@ -174,6 +174,7 @@ else if (!$error) {
}
$OUTPUT->show_message('folderupdated', 'confirmation');
$OUTPUT->set_env('folder', $folder['name']);
if ($rename) {
// #1488692: update session

Loading…
Cancel
Save