- disable purge command after purge action

release-0.6
alecpl 17 years ago
parent 7560371366
commit 2eb0326a55

@ -3461,10 +3461,9 @@ function rcube_webmail()
this.message_list.init();
break;
case 'purge':
case 'list':
if (this.env.messagecount)
this.enable_command('purge', (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox));
this.enable_command('purge', (this.env.messagecount && (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox)));
this.msglist_select(this.message_list);
case 'getunread':

Loading…
Cancel
Save