diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-08-23 06:21:52 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-08-23 06:21:52 +0000 |
| commit | f665ad1c85275fdbec5e463d7bf1e117e46708f2 (patch) | |
| tree | de67ead704b07d19a5f3084c584d070d259f7aa9 /roundcubemail/program | |
| parent | 9702c2ba94c1b0fa0e2df23a44b25d61c5feac5a (diff) | |
- Fix list page controls when contacts group is selected
git-svn-id: https://svn.roundcube.net/trunk@3900 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/app.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 6266c3393..86e6563ca 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1791,7 +1791,7 @@ function rcube_webmail() if (this.task == 'mail') this.list_mailbox(this.env.mailbox, page); else if (this.task == 'addressbook') - this.list_contacts(this.env.source, null, page); + this.list_contacts(this.env.source, this.env.group, page); } }; @@ -3500,8 +3500,8 @@ function rcube_webmail() this.list_contacts = function(src, group, page) { - var add_url = ''; - var target = window; + var add_url = '', + target = window; if (!src) src = this.env.source; @@ -3510,8 +3510,7 @@ function rcube_webmail() return false; if (src != this.env.source) { - page = 1; - this.env.current_page = page; + page = this.env.current_page = 1; this.reset_qsearch(); } else if (group != this.env.group) |
