diff options
author | vbenincasa <vbenincasa@gmail.com> | 2009-10-03 23:05:53 +0000 |
---|---|---|
committer | vbenincasa <vbenincasa@gmail.com> | 2009-10-03 23:05:53 +0000 |
commit | e737a50a36d54cfd012e999f944b384640204e52 (patch) | |
tree | 2f0c02a7ada3dd74203a8e288572f1f58abdebc4 /program | |
parent | 8879ed44b2befc2404048a6c91d8ca72bb422183 (diff) |
- Reapply r3004 undone in r3011
Diffstat (limited to 'program')
-rw-r--r-- | program/js/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js index 02d55fcf6..016162fdf 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1629,15 +1629,15 @@ function rcube_webmail() // also send search request to get the right messages if (this.env.search_request) add_url += '&_search='+this.env.search_request; - + // set page=1 if changeing to another mailbox - if (!page) + if (!page && this.env.mailbox != mbox) { page = 1; this.env.current_page = page; this.show_contentframe(false); } - + if (mbox != this.env.mailbox || (mbox == this.env.mailbox && !page && !sort)) add_url += '&_refresh=1'; |