diff options
author | alecpl <alec@alec.pl> | 2011-09-22 07:49:33 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-22 07:49:33 +0000 |
commit | bba25299f8d1569f560fc66f82837c95145ee121 (patch) | |
tree | 67106f791d135c37891a428545fe4c050b924874 /program/steps | |
parent | 48a06551da5625830b1c5cd901af816e26ef489b (diff) |
- Fix bug where after delete message rows can be added to the list of another folder (#1487752)
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/check_recent.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/folders.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/func.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/list.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/mark.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/move_del.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/search.inc | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc index c7d607cf9..e22cccca5 100644 --- a/program/steps/mail/check_recent.inc +++ b/program/steps/mail/check_recent.inc @@ -81,7 +81,7 @@ foreach ($a_mailboxes as $mbox_name) { $OUTPUT->set_env('messagecount', $all_count); $OUTPUT->set_env('pagecount', ceil($all_count/$IMAP->page_size)); - $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($all_count)); + $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($all_count), $mbox_name); $OUTPUT->set_env('current_page', $all_count ? $IMAP->list_page : 1); // remove old rows (and clear selection if new list is empty) diff --git a/program/steps/mail/folders.inc b/program/steps/mail/folders.inc index 7ba6f0c50..fad2bf3e3 100644 --- a/program/steps/mail/folders.inc +++ b/program/steps/mail/folders.inc @@ -65,7 +65,7 @@ else if ($RCMAIL->action == 'purge') $OUTPUT->set_env('messagecount', 0); $OUTPUT->set_env('pagecount', 0); $OUTPUT->command('message_list.clear'); - $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text()); + $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text(), $mbox); $OUTPUT->command('set_unread_count', $mbox, 0); $OUTPUT->command('set_quota', rcmail_quota_content()); rcmail_set_unseen_count($mbox, 0); diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 57ad9c7c3..6ece17511 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -320,7 +320,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $a_show_cols=null } if ($IMAP->threading) { - $OUTPUT->command('init_threads', (array) $roots); + $OUTPUT->command('init_threads', (array) $roots, $mbox); } } diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc index 1f6c21e43..9988a00b4 100644 --- a/program/steps/mail/list.inc +++ b/program/steps/mail/list.inc @@ -96,7 +96,7 @@ $OUTPUT->set_env('messagecount', $count); $OUTPUT->set_env('pagecount', $pages); $OUTPUT->set_env('threading', (bool) $IMAP->threading); $OUTPUT->set_env('current_page', $count ? $IMAP->list_page : 1); -$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count)); +$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count), $mbox_name); $OUTPUT->command('set_mailboxname', rcmail_get_mailbox_name_text()); // add message rows diff --git a/program/steps/mail/mark.inc b/program/steps/mail/mark.inc index 30ffec009..c232d8c48 100644 --- a/program/steps/mail/mark.inc +++ b/program/steps/mail/mark.inc @@ -104,7 +104,7 @@ if (($uids = get_input_value('_uid', RCUBE_INPUT_POST)) && ($flag = get_input_va $OUTPUT->command('set_unread_count', $mbox, $unseen_count, ($mbox == 'INBOX')); rcmail_set_unseen_count($mbox, $unseen_count); } - $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($msg_count)); + $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($msg_count), $mbox); if ($IMAP->threading) $count = get_input_value('_count', RCUBE_INPUT_POST); diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index e77979add..a42bc90cd 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -121,7 +121,7 @@ else } $OUTPUT->command('set_quota', rcmail_quota_content()); - $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($msg_count)); + $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($msg_count), $mbox); if ($IMAP->threading) $count = get_input_value('_count', RCUBE_INPUT_POST); diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc index c038d772f..d34454ff1 100644 --- a/program/steps/mail/search.inc +++ b/program/steps/mail/search.inc @@ -135,7 +135,7 @@ else { $OUTPUT->set_env('search_request', $search_str ? $search_request : ''); $OUTPUT->set_env('messagecount', $count); $OUTPUT->set_env('pagecount', ceil($count/$IMAP->page_size)); -$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count, 1)); +$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count, 1), $mbox); $OUTPUT->send(); |