diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-12-15 18:32:42 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-12-15 18:32:42 +0100 |
commit | c0208002a804aa36cf6891e9875e2f8adc0deb2d (patch) | |
tree | 09477c920462c9de36b0522cbb3548bb6a2a0b2f /program/steps | |
parent | ff4a92c8e2f11711975f9697a057cd96ce370bc5 (diff) |
Fix escaping of add-contact arguments - fixes JS error in IE
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index bd381d5c0..88391b102 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1528,7 +1528,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null, if ($addicon && $_SESSION['writeable_abook']) { $address .= html::a(array( 'href' => "#add", - 'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, $string), + 'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, JQ($string)), 'title' => rcube_label('addtoaddressbook'), 'class' => 'rcmaddcontact', ), |