NappUI icon indicating copy to clipboard operation
NappUI copied to clipboard

popToRoot undefined is not a function

Open justin-nodeboy opened this issue 10 years ago • 2 comments

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

<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

justin-nodeboy avatar Nov 11 '15 13:11 justin-nodeboy

I'm wondering the same thing, did you fix this @justin-nodeboy ?

@viezel is this module alloy compatible?

nitrag avatar Mar 25 '16 14:03 nitrag

Ah, after adding this feature the module was not recompiled.

nitrag avatar Mar 25 '16 15:03 nitrag