summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-07-18 15:44:19 +0000
committeralecpl <alec@alec.pl>2008-07-18 15:44:19 +0000
commit59200ca922332e889302ba7142853c6bd7a75295 (patch)
tree6e2c200b6d0959430295c05144b27d8fc8d29568
parent18240a9201d193a5a2420f8644fa05b7bfbceeec (diff)
-fixed attachments removing in draft mode
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index f3ab4cec6..1b1d0bf4b 100644
--- a/program/steps/mail/compose.inc
+++ b/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']));
}