Wouter van Os
Tue, 29 Mar 2016 13:50:25 GMT
I have the same problem. Nobody have a solution ?
Try this: --- mainView.history = ['index.html']; $$('.view-main .page-on-left').remove(); --- then load the new page with this: --- mainView.router.load({url: 'newPage.html', ignoreCache: true, reload: true}); ---
Thank you galebnas BUT the back link to index.html doesn't work...
Some problem here.
same here, tried $$('.view-main .page-on-left').remove(); but it does not remove the history, as i can still cick back to go back to the prev page
The trick here is to change the history and remove page on left after animation --- ... myApp.onPageAfterAnimation('*', function(page){ if(page.name=='your-new-page-name'){ $$('.view-right .page-on-left').remove(); } }); ---