PDA

View Full Version : Bug in Act_section*.js file generation


allen
30-Apr-2003, 10:03 AM
Hi all,

One of my lovely javascripts wouldn't work for a client and we eventually traced it to this:
section_tree[1].pChild[3].pChild[1].sImage = "100x100\ult2001_small.gif";

The problem is that \u is the escape code for a hexadecimal digit. Now to solve the problem, the above line needs to be changed to:
section_tree[1].pChild[3].pChild[1].sImage = "100x100\\ult2001_small.gif";

Actinic should look for and correct this when generating the JS files.

In the meantime, a workaround is to just not use filenames beginning with a u

Allen

cdicken
01-May-2003, 07:59 AM
Thanks for the input Allen.

Also, 6.1.0 onwards removes the section path from the section image filename in the *.js file. So an upgrade will also sort it.