summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 222a7db84..cba5313af 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2535,6 +2535,8 @@ function rcube_webmail()
var form;
if ((form = this.gui_objects.editform) && form.elements['_folder_name'])
name = form.elements['_folder_name'].value;
+ if (this.env.folder)
+ name = this.env.folder+this.env.delimiter+name;
if (name)
this.http_post('create-folder', '_name='+urlencode(name), true);