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:30:14 +0200
commitf477279035191f4a1c238e6a7bad162a8fca85ed (patch)
treee1b5d42d526e4866c1dfafbe4f8c26c67337cbd0 /program/js
parent328876db5c760dc1c2bda1fed1e6daab285a8e2f (diff)
Fix purge action in folder manager (#1489280)
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 6f5bfbced..2a4493d01 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -398,7 +398,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();
}