Announcement

Collapse
No announcement yet.

Bug in Act_section*.js file generation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bug in Act_section*.js file generation

    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

    #2
    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.

    Comment

    Working...
    X