I have uncommented the NQV SECTIONTREE_RAW in my Act_Primary.html template in order to use the file Act_section_tree.js to build a dropdown box.
However because of the poor structure of this file it is causing errors within many browsers (notably IE 6SP1).
Upon further inspection I found that each element of the array contains an attribute called sImage, this holds the path to the section image. Because this is a file path, it contains forward slashes, some of which correspond to JavaScript escape sequences and cause errors. For example the line
would cause the browser to error because \x is the escape code for hex, so the browser expects a hex code after it.
Hopefully I have made the problem clear. Therefore I would like to know:
1 Is this a known issue and if so why it isn't mentioned in the kb?
2 Are there any plans to fix Actinic so that it writes a proper string using appropriate escape characters (\\ not \)?
However because of the poor structure of this file it is causing errors within many browsers (notably IE 6SP1).
Upon further inspection I found that each element of the array contains an attribute called sImage, this holds the path to the section image. Because this is a file path, it contains forward slashes, some of which correspond to JavaScript escape sequences and cause errors. For example the line
section_tree[6].pChild[1].sImage = "images\xraymachine.gif";
Hopefully I have made the problem clear. Therefore I would like to know:
1 Is this a known issue and if so why it isn't mentioned in the kb?
2 Are there any plans to fix Actinic so that it writes a proper string using appropriate escape characters (\\ not \)?
Comment