summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-13 08:30:14 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-13 08:31:29 +0200
commitf4ba655a41bad1d2f833e36dd3fbe7cb2a5582ee (patch)
tree65a5f2337c7e278ed6b703a0861aedb2525c1f73 /program/js
parent216fdb891a6840269ed0a68fb6194f787af9c2bb (diff)
Fix purge action in folder manager (#1489280)
Conflicts: CHANGELOG
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 8e6a6fff3..73612381f 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -388,7 +388,7 @@ function rcube_webmail()
}
else if (this.env.action == 'edit-folder' && this.gui_objects.editform) {
this.enable_command('save', 'folder-size', true);
- parent.rcmail.env.messagecount = this.env.messagecount;
+ parent.rcmail.env.exists = this.env.messagecount;
parent.rcmail.enable_command('purge', this.env.messagecount);
$("input[type='text']").first().select();
}