diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-05 23:24:30 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-02-05 23:24:30 +0000 |
| commit | fb0b4a6e4e836ec723db82975ac2101cdee67a91 (patch) | |
| tree | 8cee585d7215f97df4f20acf64127d06588b5dc2 /roundcubemail/program/js | |
| parent | 14f5e393c844b43040be4b0286eb68aa4a66c751 (diff) | |
Also send search request when deleting a contact (#1484620)
git-svn-id: https://svn.roundcube.net/trunk@1021 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 66b7de05b..6504bca83 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -2378,6 +2378,7 @@ function rcube_webmail() return; var a_cids = new Array(); + var qs = ''; if (this.env.cid) a_cids[a_cids.length] = this.env.cid; @@ -2396,8 +2397,12 @@ function rcube_webmail() this.show_contentframe(false); } + // also send search request to get the right records from the next page + if (this.env.search_request) + qs += '&_search='+this.env.search_request; + // send request to server - this.http_post('delete', '_cid='+urlencode(a_cids.join(','))+'&_from='+(this.env.action ? this.env.action : '')); + this.http_post('delete', '_cid='+urlencode(a_cids.join(','))+'&_from='+(this.env.action ? this.env.action : '')+qs); return true; }; |
