From e99d21ba051fb2b67147ab1da9c531d7acf8d99b Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sat, 15 May 2010 08:15:58 -0400 Subject: [PATCH] - remove offline message list generation on IE, this doesn't realy improve performance now --- program/steps/mail/func.inc | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 09ef4c5..01b7c1f 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -221,7 +221,7 @@ * 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, $replace=TRUE, $head_replace=FALSE) +function rcmail_js_message_list($a_headers, $insert_top=FALSE, $head_replace=FALSE) { global $CONFIG, $IMAP, $OUTPUT; @@ -250,9 +250,6 @@ unset($a_show_cols[$key]); if(($key = array_search('flag', $a_show_cols)) !== FALSE) unset($a_show_cols[$key]); - - if ($OUTPUT->browser->ie && $replace) - $OUTPUT->command('offline_message_list', true); // loop through message headers foreach ($a_headers as $n => $header) @@ -314,9 +311,6 @@ $a_msg_flags, $insert_top); } - - if ($browser->ie && $replace) - $OUTPUT->command('offline_message_list', false); } -- Gitblit v1.9.1