diff options
author | alecpl <alec@alec.pl> | 2008-10-15 17:27:52 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-10-15 17:27:52 +0000 |
commit | 701b9a7c6b22a912ce7312b684b130e2066b0ddd (patch) | |
tree | 812f816ee646339dc7c8ecb12331343e878d14e9 /program/js/app.js | |
parent | b92a67483d467906f8e004718cd6b1f8fb1c0613 (diff) |
- Add feedback and set busy when moving folder (#1485497)
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 53a869f48..bea1dc4af 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2827,7 +2827,9 @@ function rcube_webmail() var reg = new RegExp('[^'+RegExp.escape(this.env.delimiter)+']*['+RegExp.escape(this.env.delimiter)+']', 'g'); var basename = this.env.folder.replace(reg, ''); var newname = this.env.dstfolder==this.env.delimiter ? basename : this.env.dstfolder+this.env.delimiter+basename; - this.http_post('rename-folder', '_folder_oldname='+urlencode(this.env.folder)+'&_folder_newname='+urlencode(newname)); + + this.set_busy(true, 'foldermoving'); + this.http_post('rename-folder', '_folder_oldname='+urlencode(this.env.folder)+'&_folder_newname='+urlencode(newname), true); } this.drag_active = false; this.unfocus_subscription(this.get_folder_row_id(this.env.dstfolder)); |