summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2007-09-25 07:58:36 +0000
committersvncommit <devs@roundcube.net>2007-09-25 07:58:36 +0000
commitf0db3d4cca4a95ace347bdd9bb012c7d48962a7d (patch)
treeb29f864df60a8deb03121ed7a56dda7c0e2bf701 /program/js
parentbdfb98977b2e523801324c1a6d1421cdaee16e88 (diff)
Create new folder as child of selected folder.
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);