Ay idea on how to get popToRoot working in an Alloy project? At the moment all I am getting from the code is
<NavigationWindow id="navWindowDetail">
<Window id="root" class="window">
<Label id="lblMain" text="Please Select an item from the left menu" />
</Window>
</NavigationWindow>```
```javascript
$.navWindowDetail.popToRoot();
And then in the logs
message = "undefined is not a function (evaluating '$.navWindowDetail.popToRoot()')";
I am adding a new window to the stack from a different controller, so I wanted this to fire first to remove any previous windows before adding a new one
Hey Guys
Ay idea on how to get popToRoot working in an Alloy project? At the moment all I am getting from the code is
And then in the logs
message = "undefined is not a function (evaluating '$.navWindowDetail.popToRoot()')";
I am adding a new window to the stack from a different controller, so I wanted this to fire first to remove any previous windows before adding a new one