- Fix RC forgets search results (#1483883)
| | |
| | | CHANGELOG RoundCube Webmail |
| | | =========================== |
| | | |
| | | - Fix RC forgets search results (#1483883) |
| | | - TinyMCE 3.3.7 |
| | | - Improve parsing of styled empty tags in HTML messages (#1486812) |
| | | - Add %dc variable support in base_dn/bind_dn config (#1486779) |
| | | - Add button to hide/unhide the preview pane (#1484215) |
| | |
| | | // misc list commands |
| | | case 'list': |
| | | if (this.task=='mail') { |
| | | if (this.env.search_request<0 || (props != '' && (this.env.search_request && props != this.env.mailbox))) |
| | | if (!this.env.search_request || (props && props != this.env.mailbox)) |
| | | this.reset_qsearch(); |
| | | |
| | | this.list_mailbox(props); |
| | |
| | | this.set_alttext('delete', this.env.mailbox != this.env.trash_mailbox ? 'movemessagetotrash' : 'deletemessage'); |
| | | } |
| | | else if (this.task=='addressbook') { |
| | | if (this.env.search_request<0 || (this.env.search_request && props != this.env.source)) |
| | | if (!this.env.search_request || (props != this.env.source)) |
| | | this.reset_qsearch(); |
| | | |
| | | this.list_contacts(props); |
| | |
| | | else |
| | | { |
| | | $OUTPUT->show_message('nocontactsfound', 'warning'); |
| | | $search_request = -1; |
| | | $search_request = null; |
| | | } |
| | | |
| | | // update message count display |
| | |
| | | } |
| | | |
| | | // update message count display |
| | | $OUTPUT->set_env('search_request', $search_str ? $search_request : -1); |
| | | $OUTPUT->set_env('search_request', $search_str ? $search_request : ''); |
| | | $OUTPUT->set_env('messagecount', $count); |
| | | $OUTPUT->set_env('pagecount', ceil($count/$IMAP->page_size)); |
| | | $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count, 1)); |