diff options
author | svncommit <devs@roundcube.net> | 2006-06-29 23:41:40 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-06-29 23:41:40 +0000 |
commit | a894ba5029a09fb9d0453b5cf9c944ce313f8a48 (patch) | |
tree | 34ba2e7a2c82d680fb8d772568efa46a83967f98 /program/steps/settings/manage_folders.inc | |
parent | ba8f44c4da7724f5e35866277e9775ec26616dc7 (diff) |
Removeable attachments, Auto-default folder creation, bug fixes
Diffstat (limited to 'program/steps/settings/manage_folders.inc')
-rw-r--r-- | program/steps/settings/manage_folders.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc index dd321f0d8..7274bdc50 100644 --- a/program/steps/settings/manage_folders.inc +++ b/program/steps/settings/manage_folders.inc @@ -71,8 +71,8 @@ else if ($_action=='rename-folder') if ($rename && $REMOTE_REQUEST) { - $commands = sprintf("this.add_folder_row('%s');", rep_specialchars_output($rename, 'js')); - $commands .= sprintf("this.remove_folder_row('%s')", rep_specialchars_output($_GET['_folder_oldname'], 'js')); + $commands = sprintf("this.add_folder_row('%s');\n", addslashes(rep_specialchars_output($rename, 'js'))); + $commands .= sprintf("this.remove_folder_row('%s');", rep_specialchars_output($_GET['_folder_oldname'], 'js')); rcube_remote_response($commands); } else if (!$rename && $REMOTE_REQUEST) |