diff options
author | thomascube <thomas@roundcube.net> | 2007-05-28 19:08:36 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-05-28 19:08:36 +0000 |
commit | b2fb950fb58971a05d1c4d090132ab67afe6a6bd (patch) | |
tree | acdbd9387812a8617d5867529c699d8b39c780a7 /program/steps/mail | |
parent | ae4d7497f23ca7d0d07860f237896e6e4490e594 (diff) |
Prevent default events on subject link; fixed typo in smtp script
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/func.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index cc1187bd9..4267b48fe 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -460,7 +460,7 @@ function rcmail_message_list($attrib) $uid_param = $mbox==$CONFIG['drafts_mbox'] ? '_draf_uid' : '_uid'; $cont = Q(rcube_imap::decode_mime_string($header->$col, $header->charset)); if (empty($cont)) $cont = Q(rcube_label('nosubject')); - $cont = sprintf('<a href="%s" onclick="return false">%s</a>', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), $cont); + $cont = sprintf('<a href="%s" onclick="return rcube_event.cancel(event)">%s</a>', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), $cont); } else if ($col=='size') $cont = show_bytes($header->$col); @@ -546,7 +546,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE) $uid_param = $mbox==$CONFIG['drafts_mbox'] ? '_draf_uid' : '_uid'; $cont = Q(rcube_imap::decode_mime_string($header->$col, $header->charset)); if (!$cont) $cont = Q(rcube_label('nosubject')); - $cont = sprintf('<a href="%s" onclick="return false">%s</a>', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), $cont); + $cont = sprintf('<a href="%s" onclick="return rcube_event.cancel(event)">%s</a>', Q(rcmail_url($action, array($uid_param=>$header->uid, '_mbox'=>$mbox))), $cont); } else if ($col=='size') $cont = show_bytes($header->$col); |