Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I get two Javascript errors when I use the contentTree parameter. The errors happen when I try to insert the macro inside a template or rich editor.
error: missing ; before statement sourcefile: http://localhost:666/umbraco/dialogs/editMacro.aspx?objectId=ctl00_body_editorSource&rndo=0.8 line: 259, Kolom: 20 sourcecode: var mc_ctl00_body_Parent node = new Umbraco.Controls.TreePicker('ctl00_body_Parent node','Choose Content','ctl00_body_Parent node_ContentIdValue','ctl00_body_Parent node_title','/umbraco/dialogs/treepicker.aspx?rnd=1d5e531d53f647c9854d47c8
error: missing ; before statement sourcefile: javascript:mc_ctl00_body_Parent%20node.LaunchPicker(); line: 1 sourcecode: mc_ctl00_body_Parent node.LaunchPicker();
Anybody know how I can prevent this? I had the exact same error yesterday with a simular project.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Macro: Javascript errors when using contentTree as parameter.
I get two Javascript errors when I use the contentTree parameter. The errors happen when I try to insert the macro inside a template or rich editor.
This is how I create my macro:
That's when this error happens:
The next one happens when I click on the 'choose...' link to pick the contentTree.
Anybody know how I can prevent this? I had the exact same error yesterday with a simular project.
is working on a reply...