diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-04-23 06:15:21 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-04-23 06:15:21 +0000 |
| commit | d782dff87c2c89ce85ea3f215d6c90970c751308 (patch) | |
| tree | 3f1273780c8ecc4ca5fd8d14caf286694ceb4332 /roundcubemail/program/steps/mail/func.inc | |
| parent | a5490ca8369ebbcb67d23ce9ae8a9b79db77f3a0 (diff) | |
- messages list fix for IE
git-svn-id: https://svn.roundcube.net/trunk@2414 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/func.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index fae864757..f0d7d6f01 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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); } |
