From 4d81544057bae4fcacaa20b629a159f625c7de4d Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 9 Mar 2010 12:15:35 +0000 Subject: - messages list performance: build subject link on client side --- program/steps/mail/func.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'program/steps') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 3777dfded..101a978cd 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -440,11 +440,10 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $replace=TRUE) $cont = Q(rcmail_address_string($header->$col, 3), 'show'); else if ($col=='subject') { - $action = $mbox==$CONFIG['drafts_mbox'] ? 'compose' : 'show'; - $uid_param = $mbox==$CONFIG['drafts_mbox'] ? '_draft_uid' : '_uid'; $cont = abbreviate_string(trim($IMAP->decode_header($header->$col)), 160); if (!$cont) $cont = rcube_label('nosubject'); - $cont = $browser->ie ? Q($cont) : sprintf('%s', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), Q($cont)); + $cont = Q($cont); + $a_msg_cols['mbox'] = $mbox; } else if ($col=='size') $cont = show_bytes($header->$col); -- cgit v1.2.3