alecpl
2011-09-07 b104e39f3425faf77cae67101c734fcfc3b0c1e9
- Clear contactlist page conter after saved-search delete


1 files modified
3 ■■■■■ changed files
program/steps/addressbook/search.inc 3 ●●●●● patch | view | raw | blame | history
program/steps/addressbook/search.inc
@@ -67,6 +67,9 @@
    if ($result) {
        $OUTPUT->show_message('savedsearchdeleted', 'confirmation');
        $OUTPUT->command('remove_search_item', Q($id));
        // contact list will be cleared, clear also page counter
        $OUTPUT->command('set_rowcount', rcube_label('nocontactsfound'));
        $OUTPUT->set_env('pagecount', 0);
    }
    else
        $OUTPUT->show_message($plugin['message'] ? $plugin['message'] : 'savedsearchdeleteerror', 'error');