diff options
author | thomascube <thomas@roundcube.net> | 2009-06-19 15:35:23 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-06-19 15:35:23 +0000 |
commit | 5302a931ff10d68ffc67a5a3cadac5128af81c7e (patch) | |
tree | fa546f4fba79869591e5a0ec229adde5d9370608 /program | |
parent | 465d38b5cb061ef9bfcb56ecac4a27a406a84074 (diff) |
No link on subject in IE browsers (#1484913)
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/func.inc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 5ce0671c4..8b2f196ad 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -244,7 +244,7 @@ function rcmail_message_list($attrib) if (!sizeof($a_headers)) $OUTPUT->show_message('nomessagesfound', 'notice'); - + $browser = new rcube_browser; $a_js_message_arr = array(); // create row for each message @@ -301,7 +301,6 @@ function rcmail_message_list($attrib) $out .= sprintf("<td class=\"icon\">%s</td>\n", $message_icon ? sprintf($image_tag, $skin_path, $message_icon, '') : ''); - $IMAP->set_charset(!empty($header->charset) ? $header->charset : $CONFIG['default_charset']); // format each col @@ -315,7 +314,7 @@ function rcmail_message_list($attrib) $uid_param = $mbox==$CONFIG['drafts_mbox'] ? '_draft_uid' : '_uid'; $cont = abbreviate_string(trim($IMAP->decode_header($header->$col)), 160); if (empty($cont)) $cont = rcube_label('nosubject'); - $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)); } else if ($col=='flag') $cont = $flagged_icon ? sprintf($image_tag, $skin_path, $flagged_icon, '') : ''; @@ -434,7 +433,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $replace=TRUE) $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 = 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)); } else if ($col=='size') $cont = show_bytes($header->$col); |