|
|
@ -7507,7 +7507,7 @@ function rcube_webmail()
|
|
|
|
this.enable_command('import-messages', !is_multifolder);
|
|
|
|
this.enable_command('import-messages', !is_multifolder);
|
|
|
|
this.enable_command('expand-all', 'expand-unread', 'collapse-all', this.env.threading && this.env.messagecount && !is_multifolder);
|
|
|
|
this.enable_command('expand-all', 'expand-unread', 'collapse-all', this.env.threading && this.env.messagecount && !is_multifolder);
|
|
|
|
|
|
|
|
|
|
|
|
if ((response.action == 'list' || response.action == 'search') && this.message_list) {
|
|
|
|
if (this.message_list) {
|
|
|
|
var list = this.message_list, uid = this.env.list_uid;
|
|
|
|
var list = this.message_list, uid = this.env.list_uid;
|
|
|
|
|
|
|
|
|
|
|
|
// highlight message row when we're back from message page
|
|
|
|
// highlight message row when we're back from message page
|
|
|
@ -7520,12 +7520,14 @@ function rcube_webmail()
|
|
|
|
delete this.env.list_uid;
|
|
|
|
delete this.env.list_uid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.enable_command('set-listmode', this.env.threads && !is_multifolder);
|
|
|
|
if (response.action == 'list' || response.action == 'search') {
|
|
|
|
if (list.rowcount > 0)
|
|
|
|
this.enable_command('set-listmode', this.env.threads && !is_multifolder);
|
|
|
|
list.focus();
|
|
|
|
if (list.rowcount > 0)
|
|
|
|
this.msglist_select(list);
|
|
|
|
list.focus();
|
|
|
|
this.triggerEvent('listupdate', { folder:this.env.mailbox, rowcount:list.rowcount });
|
|
|
|
this.msglist_select(list);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.triggerEvent('listupdate', { folder:this.env.mailbox, rowcount:list.rowcount });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (this.task == 'addressbook') {
|
|
|
|
else if (this.task == 'addressbook') {
|
|
|
|