summaryrefslogtreecommitdiff
path: root/program/steps/mail/attachments.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-20 08:18:54 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-20 08:18:54 +0200
commitb334a01791689a16c8d6b10955df850b891ff40e (patch)
tree34173fc260a63a18ec56b75825cdc0925c84f594 /program/steps/mail/attachments.inc
parent1bfd8ac27aa09421e77b629806dc9f667aa32cb6 (diff)
parentc1ff572e176dc930c52063e53364daa315d34666 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/steps/mail/attachments.inc')
-rw-r--r--program/steps/mail/attachments.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/steps/mail/attachments.inc b/program/steps/mail/attachments.inc
index f83f6892e..85aa9542b 100644
--- a/program/steps/mail/attachments.inc
+++ b/program/steps/mail/attachments.inc
@@ -118,9 +118,12 @@ if (is_array($_FILES['_attachments']['tmp_name'])) {
'alt' => rcube_label('delete')
));
}
- else {
+ else if ($COMPOSE['textbuttons']) {
$button = Q(rcube_label('delete'));
}
+ else {
+ $button = '';
+ }
$content = html::a(array(
'href' => "#delete",