navigationService.syncTree works only after first reload
Hi all,
if I use navigationService.syncTree in a custom property editor (included in a custom dashboard) it works first. But on next calls it doesn't works right. The specific new child node is selected, but the parent node in content is not opened. If I clear the cache and reload the page it works again at first. On next call it doesn't work again.
navigationService.syncTree works only after first reload
Hi all,
if I use navigationService.syncTree in a custom property editor (included in a custom dashboard) it works first. But on next calls it doesn't works right. The specific new child node is selected, but the parent node in content is not opened. If I clear the cache and reload the page it works again at first. On next call it doesn't work again.
Have anyone the same issue with this?
Umbraco version 7.2.2
Best,
Sören
I use this code:
I have also tried it with forceReload: true, but without success.
First call works. But the next calls doesn't work. Only after a complete page refresh in browser it works again.
Can someone test, if he gets the same behavior? Maybe it's an issue?
Best,
Sören
Hi Soren I have the same issue with umb. ver 7.3.1
Best Kim Holzmann
Yes, I have seen this too. Would probably be good to submit a YouTrack ticket for it.
I'm seeing this in 7.4.3 but I've sussed out a workaround for now:
inject the umbracoMenuActions service in to your controller and call it like this:
Hope this helps...
is working on a reply...