summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-17 07:01:11 +0000
committeralecpl <alec@alec.pl>2008-09-17 07:01:11 +0000
commitd93fc991a8e3a604cb38d6ee3f367d8363f22bc7 (patch)
tree56cd2d4bba65638069f61497b0c4881526e16a65 /program/js/app.js
parent5758b9b32ad4657ccb1d386d21ec498878d2be52 (diff)
- Display progress message for folders create/delete/rename operations (#1485357)
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 4bae0e349..1ee319bbd 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2913,6 +2913,7 @@ function rcube_webmail()
if (this.env.folder && name != '')
name = this.env.folder+this.env.delimiter+name;
+ this.set_busy(true, 'foldercreating');
this.http_post('create-folder', '_name='+urlencode(name), true);
}
else if (form.elements['_folder_name'])
@@ -2987,6 +2988,7 @@ function rcube_webmail()
if (this.name_input.__parent)
newname = this.name_input.__parent + this.env.delimiter + newname;
+ this.set_busy(true, 'folderrenaming');
this.http_post('rename-folder', '_folder_oldname='+urlencode(this.env.subscriptionrows[this.edit_folder][0])+'&_folder_newname='+urlencode(newname), true);
}
}
@@ -3006,7 +3008,8 @@ function rcube_webmail()
if (folder && confirm(this.get_label('deletefolderconfirm')))
{
- this.http_post('delete-folder', '_mboxes='+urlencode(folder));
+ this.set_busy(true, 'folderdeleting');
+ this.http_post('delete-folder', '_mboxes='+urlencode(folder), true);
this.set_env('folder', null);
if (this.gui_objects.createfolderhint)