diff options
author | thomascube <thomas@roundcube.net> | 2011-01-18 18:00:57 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-01-18 18:00:57 +0000 |
commit | 0501b637a3177cce441166b5fcfe27c9bd9fbe0f (patch) | |
tree | 5460128ef65d2510a7538c4a0e7336987e090ca1 /program/steps/addressbook/delete.inc | |
parent | e81a30752b244394b03cbcaa0df254c93b379782 (diff) |
Merge branch devel-addressbook (r4193:4382) back into trunk
Diffstat (limited to 'program/steps/addressbook/delete.inc')
-rw-r--r-- | program/steps/addressbook/delete.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/steps/addressbook/delete.inc b/program/steps/addressbook/delete.inc index ea67746f4..1cd4f3550 100644 --- a/program/steps/addressbook/delete.inc +++ b/program/steps/addressbook/delete.inc @@ -38,6 +38,10 @@ if ($OUTPUT->ajax_call && // count contacts for this user $result = $CONTACTS->count(); + // update saved search after data changed + if (($search_request = $_REQUEST['_search']) && isset($_SESSION['search'][$search_request])) + $_SESSION['search'][$search_request] = $CONTACTS->refresh_search(); + // update message count display $OUTPUT->set_env('pagecount', ceil($result->count / $CONTACTS->page_size)); $OUTPUT->command('set_rowcount', rcmail_get_rowcount_text($result->count)); |