Add onclick handler to Show-links

pull/46/merge
Thomas Bruederli 12 years ago
parent 54cc75f28d
commit 3bf7310fa3

@ -1222,7 +1222,7 @@ function rcmail_message_body($attrib)
html::span('image-filename', Q($attach_prop->filename)) .
html::span('image-filesize', Q($RCMAIL->show_bytes($attach_prop->size))) .
html::span('attachment-links',
(in_array($attach_prop->mimetype, $client_mimetypes) ? html::a($show_link['href'], rcube_label('showattachment')) . ' ' : '') .
(in_array($attach_prop->mimetype, $client_mimetypes) ? html::a($show_link, rcube_label('showattachment')) . ' ' : '') .
html::a($show_link['href'] . '&_download=1', rcube_label('download'))
) .
html::br(array('style' => 'clear:both'))

Loading…
Cancel
Save