Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter figassis

    (@figassis)

    Just tried, issue remains. The error is saying that you cannot convert a function to JSON.

    The stack trace shows that the tree object contains a function when it’s passed to the encodeMenuAsJSON function, so the $.toJSON(tree); statement throws an error.

    If you do a console.log(tree); inside the encodeMenuAsJSON, you’ll see that the tree object has a color_presets object containing a function called remove.

    In the readMenuTreeState function definition, line 1692, if you comment out the color presets attribute, the save button works fine.

    return {
    tree: tree,
    //color_presets: $.extend(true, {}, colorPresets),
    granted_capabilities: AmeCapabilityManager.getGrantedCapabilities()
    };

    This should give a hint on how to solve the issue.

    Thread Starter figassis

    (@figassis)

    Just realized that even after deleting the options using the provided checkbox, the “new user” menu item is still hidden from other users. This fix is now urgent man.

Viewing 2 replies - 1 through 2 (of 2 total)