Reloading custom tree problems (UKFest Angular JS Demo)
Hi,
I have Per's UKFest Angular JS Demo installed in an Umbraco 7.0.3 site. I have run into a problem when reloading the custom tree after a user has clicked the "Drink" or "Detox" buttons in the alternate dialog windows.
The error I'm getting back is "No childNodesUrl property found on the tree node, cannot load child nodes".
I think this is happening because the node being passed to the reloadNodes() method is not a valid node.
In App_Plugins\People\backoffice\peopletree\dialogs.controller.js on line 6 is:
Reloading custom tree problems (UKFest Angular JS Demo)
Hi,
I have Per's UKFest Angular JS Demo installed in an Umbraco 7.0.3 site. I have run into a problem when reloading the custom tree after a user has clicked the "Drink" or "Detox" buttons in the alternate dialog windows.
The error I'm getting back is "No childNodesUrl property found on the tree node, cannot load child nodes".
I think this is happening because the node being passed to the reloadNodes() method is not a valid node.
In App_Plugins\People\backoffice\peopletree\dialogs.controller.js on line 6 is:
Troubleshooting, I get back the proper node id for $scope.currentNode.id ... but $scope.currentNode.parent.id is "undefined". I'm not sure why.
Edit: BTW, one of the changes I had to make get this demo to work in Umbraco 7.0.3 was a change to App_Code\PeopleTreeController.cs. This ...
became this ...
The reason was because CreateTreeNode() was throwing an error that the arguments were incorrect. The second argument has to be a parent node id.
I'm having the same issue - anyone resolve this?
Thanks for your time
is working on a reply...