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
My call to navigationService.syncTree isn't being called. If I put a console.info on syncArgs it never reaches it...
featuresResource.save($scope.feature).then(function (response) { $scope.loaded = true; $scope.featuresForm.$setPristine(); $scope.feature = response.data; //$scope.featuresForm.$dirty = false; navigationService.syncTree({ tree: "Features", path: ["-1", "Features", $scope.feature.id], forceReload: true }) .then(function (syncArgs) { console.info(syncArgs); }); .....
This example follows working code in the umbraco.controllers.js so I'm not sure why I can't see the promise ever being executed.
Hi!
Do you see any errors in the log?
Is the path correct? ["-1", "Features", $scope.feature.id].
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
navigationService.syncTree
My call to navigationService.syncTree isn't being called. If I put a console.info on syncArgs it never reaches it...
This example follows working code in the umbraco.controllers.js so I'm not sure why I can't see the promise ever being executed.
Hi!
Do you see any errors in the log?
Is the path correct? ["-1", "Features", $scope.feature.id].
is working on a reply...