Hi List,

I have the following problem in 3.8.6 (sorry I can't try it on 3.8.7 now).
If I have a header line in an email like this (or in Cc field):

To: "'Foo Bar'" <foo....@foobar.hu>
of
To: 'Foo2 Bar2' <foo2.b...@foobar2.hu>

on the Update.html page (UpdateCc component) RT generates the code:

<input

id="updatecc-foo....@foobar.hu"
name="updatecc-foo....@foobar.hu"

    type="checkbox"
    onClick="checkboxToInput('UpdateCc',
'updatecc-foo....@foobar.hu','&#34;&#39;Foo Bar&#39;&#34;
&lt;foo....@foobar.hu <lt%3bfoo....@foobar.hu>&gt;' );
$(UpdateIgnoreAddressCheckboxes).value=1"

     > Foo Bar

and a very similar one for foobar2 entry.
In that case if I click on one of those checkboxes, the address doesn't
appear in the one-time-cc field.
I tried it with the same result in the latest version FF, IE, Opera and
Chrome.
In error console I can see the following error:

Error: missing ) after argument list
Source File: 
https://rt.foobar.hu/rt3/Ticket/Update.html?Action=Comment&id=X<https://rt.pontez.hu/rt3/Ticket/Update.html?Action=Comment&id=273>
Line: 1, Column: 74
Source Code:
checkboxToInput('UpdateBcc', 'updatebcc-foo....@foobar.hu','"'Foo Bar'" <
foo....@foobar.hu>' ); $(UpdateIgnoreAddressCheckboxes).value=1

It seems that ' disturbs the generated JavaScript code.
Is it a known issue? Or a Bug? Or a Feature?


All help is greatly appreciated!
--
Bekeny
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to