From 7a723522945b8954681171aa012b7ee1431a45cd Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 23 Apr 2009 06:15:21 +0000 Subject: - messages list fix for IE --- program/steps/mail/func.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'program/steps/mail/func.inc') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index fae864757..f0d7d6f01 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -374,8 +374,9 @@ function rcmail_message_list($attrib) /** * return javascript commands to add rows to the message list + * or to replace the whole list (IE only) */ -function rcmail_js_message_list($a_headers, $insert_top=FALSE) +function rcmail_js_message_list($a_headers, $insert_top=FALSE, $replace=TRUE) { global $CONFIG, $IMAP, $OUTPUT; @@ -394,7 +395,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE) $browser = new rcube_browser; $OUTPUT->command('set_message_coltypes', $a_show_cols); - if ($browser->ie && !$insert_top) + if ($browser->ie && $replace) $OUTPUT->command('offline_message_list', true); // loop through message headers @@ -456,7 +457,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE) $insert_top); } - if ($browser->ie && !$insert_top) + if ($browser->ie && $replace) $OUTPUT->command('offline_message_list', false); } -- cgit v1.2.3