- revert unwanted commit

release-0.6
alecpl 16 years ago
parent 2337a82f72
commit daa3f720bc

@ -428,10 +428,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $replace=TRUE)
{ {
$action = $mbox==$CONFIG['drafts_mbox'] ? 'compose' : 'show'; $action = $mbox==$CONFIG['drafts_mbox'] ? 'compose' : 'show';
$uid_param = $mbox==$CONFIG['drafts_mbox'] ? '_draft_uid' : '_uid'; $uid_param = $mbox==$CONFIG['drafts_mbox'] ? '_draft_uid' : '_uid';
$cont = trim($IMAP->decode_header($header->$col)); $cont = abbreviate_string(trim($IMAP->decode_header($header->$col)), 160);
if ($browser->ie)
$cont = rc_utf8_clean($cont);
$cont = abbreviate_string($cont, 160);
if (!$cont) $cont = rcube_label('nosubject'); if (!$cont) $cont = rcube_label('nosubject');
$cont = $browser->ie ? Q($cont) : sprintf('<a href="%s" onclick="return rcube_event.cancel(event)">%s</a>', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), Q($cont)); $cont = $browser->ie ? Q($cont) : sprintf('<a href="%s" onclick="return rcube_event.cancel(event)">%s</a>', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), Q($cont));
} }

Loading…
Cancel
Save