summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-15 18:43:20 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-15 18:43:20 +0000
commit2626f847a48e842dda46d4f837b480a92a8d713c (patch)
tree906c891934b958853f6776282c52c188d4495532 /roundcubemail/program
parentc5082735465b386a58bdc27c93535969c9b3a27a (diff)
- fix delete icon on attachment list (#1485921)
git-svn-id: https://svn.roundcube.net/trunk@2646 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/compose.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index fbd0cc44d..3c82c8e03 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -725,7 +725,6 @@ function rcmail_compose_attachment_list($attrib)
'src' => $CONFIG['skin_path'] . $attrib['deleteicon'],
'alt' => rcube_label('delete')
));
- $_SESSION['compose']['deleteicon'] = $CONFIG['skin_path'] . $attrib['deleteicon'];
}
else
$button = Q(rcube_label('delete'));
@@ -744,6 +743,9 @@ function rcmail_compose_attachment_list($attrib)
}
}
+ if ($attrib['deleteicon'])
+ $_SESSION['compose']['deleteicon'] = $CONFIG['skin_path'] . $attrib['deleteicon'];
+
$OUTPUT->add_gui_object('attachmentlist', $attrib['id']);
return html::tag('ul', $attrib, $out, html::$common_attrib);