Uncaught (in promise): pushPage is already running.
-
this.onsNavigator.element.pushPage(ErrorHandlerComponent, {
data: {
error: {
code: code
}
}
}When I am executing the above code, I get the error :
Uncaught (in promise): pushPage is already running. any idea, how to stop the navigator from running?
-
@digish
found the solution. Just delay the landing.
var millisecondsToWait = 500;
setTimeout(function () {
doTheNeeded();
}, millisecondsToWait);