- Fix return to first page from e-mail screen (#1486105)

release-0.6
alecpl 15 years ago
parent cb89616e1d
commit ef70b856a3

@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail CHANGELOG RoundCube Webmail
=========================== ===========================
- Fix return to first page from e-mail screen (#1486105)
- Fix handling HTML comments in HTML messages (#1486189) - Fix handling HTML comments in HTML messages (#1486189)
- Fix folder/messagelist controls alignment - icons used (#1486072) - Fix folder/messagelist controls alignment - icons used (#1486072)
- Fix LDAP addressbook shows 'Contact not found' error sometimes (#1486178) - Fix LDAP addressbook shows 'Contact not found' error sometimes (#1486178)

@ -1629,15 +1629,15 @@ function rcube_webmail()
// also send search request to get the right messages // also send search request to get the right messages
if (this.env.search_request) if (this.env.search_request)
add_url += '&_search='+this.env.search_request; add_url += '&_search='+this.env.search_request;
// set page=1 if changeing to another mailbox // set page=1 if changeing to another mailbox
if (!page) if (!page && this.env.mailbox != mbox)
{ {
page = 1; page = 1;
this.env.current_page = page; this.env.current_page = page;
this.show_contentframe(false); this.show_contentframe(false);
} }
if (mbox != this.env.mailbox || (mbox == this.env.mailbox && !page && !sort)) if (mbox != this.env.mailbox || (mbox == this.env.mailbox && !page && !sort))
add_url += '&_refresh=1'; add_url += '&_refresh=1';

Loading…
Cancel
Save