summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-11-17 17:55:09 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-11-17 17:55:09 +0100
commit3bf7310fa35ea3670b528af74de3c07ab31e1226 (patch)
tree03baaa0804566b0a51ccbf54f75fbea26f3fc426
parent54cc75f28d75d01eb10c0be51e42e468f30c3956 (diff)
Add onclick handler to Show-links
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index dc97d1fce..c27009d30 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -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')) . '&nbsp;' : '') .
+ (in_array($attach_prop->mimetype, $client_mimetypes) ? html::a($show_link, rcube_label('showattachment')) . '&nbsp;' : '') .
html::a($show_link['href'] . '&_download=1', rcube_label('download'))
) .
html::br(array('style' => 'clear:both'))