Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonathan Cohen 40 posts 115 karma points
    Oct 16, 2010 @ 22:10
    Jonathan Cohen
    0

    MacroPropertyType of type RadioButtonList gives javascript error.

    Hello,

    I have made a MacroPropertyType that inherits a RadioButtonList. It installs fine and shows upp fine, but when i pres the "Ok" button to insert the macro in a template it gives me an javascript error:

     

    "Umbraco.Controls.TreePicker' is null or not an object" in the function "saveTreepickerValue"

     

    // hack for tree based macro parameter types
    var picker = Umbraco.Controls.TreePicker.GetPickerById(controlId);

    Anyone knows what could be wrong, should it not be able to use a radiobuttonlist?

    I have a list of Images I want the user to choose from.

Please Sign in or register to post replies

Write your reply to:

Draft