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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.