summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authorrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-25 07:58:36 +0000
committerrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-25 07:58:36 +0000
commita565a06bf0c58196b008c5f5d0d264159de36e19 (patch)
treef4787cd3dd7960827be5b3c200a60c4a01416015 /roundcubemail/program/js
parent42e314df9ac3322de99a8d2feed581c1c7897b29 (diff)
Create new folder as child of selected folder.
git-svn-id: https://svn.roundcube.net/trunk@813 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 222a7db84..cba5313af 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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);