From 47e1c2700e1a99afa6c310de2fd2c0722187a85b Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 18 Jul 2008 15:44:19 +0000 Subject: -fixed attachments removing in draft mode git-svn-id: https://svn.roundcube.net/trunk@1597 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index f3ab4cec6..1b1d0bf4b 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -649,7 +649,7 @@ function rcmail_compose_attachment_list($attrib) html::a(array( 'href' => "#delete", 'title' => rcube_label('delete'), - 'onclick' => sprintf("return %s.command(\'remove-attachment\',\'rcmfile%d\', this)", JS_OBJECT_NAME, $id)), + 'onclick' => sprintf("return %s.command('remove-attachment','rcmfile%d', this)", JS_OBJECT_NAME, $id)), $button) . Q($a_prop['name'])); } -- cgit v1.2.3