diff options
| author | netbit <netbit@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-10-03 23:05:53 +0000 |
|---|---|---|
| committer | netbit <netbit@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-10-03 23:05:53 +0000 |
| commit | bb229e161dd8b3cb711ed5cc10a9d63a6899d1f3 (patch) | |
| tree | 58174271f686aac1fb82ed11b3bc34425f998783 /roundcubemail/program/js | |
| parent | 92c7f9d7dd8ca90c5455bc9992da290a3514e0b3 (diff) | |
- Reapply r3004 undone in r3011
git-svn-id: https://svn.roundcube.net/trunk@3013 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 02d55fcf6..016162fdf 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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'; |
