diff options
author | thomascube <thomas@roundcube.net> | 2008-02-05 23:24:30 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-02-05 23:24:30 +0000 |
commit | b155682d575dad71f35bd8c1c1d27467c9caa1e2 (patch) | |
tree | bfc745ca56f213535633c3ef5ddc21c88076b53b /program/js | |
parent | a02d486cc8988ad367cd635f4929ce707ec6f542 (diff) |
Also send search request when deleting a contact (#1484620)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 66b7de05b..6504bca83 100644 --- a/program/js/app.js +++ b/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; }; |