Closed nickGermi closed 10 years ago
If I change
$.UINavigationHistory.push(destination);
to
$.UINavigationHistory.push(destination.selector);
Within UIGoToArticle (CHUI)
that fixes the URL when going back from third article. however app still gets stuck sometimes when going forward and backward within third and second article
Actually there was a bug in $.UIGoToArticle where it was supposed to push the id of the article to $.UINavigationHistory. That has been fixed now. With that fixed you should be able to navigate any number of articles forward and backward. I have that working without a problem here. Please see commit 54b06d2e0b
Currently only two level navigation works, if I create three level as follow:
main article [containing link goto=secondary] secondary article [containing link goto=third] third article [containing link back]
When going back from third article to the secondary article the URL turns to domain.com/#/[object Object] but it still works
however after going forward and backward in the navigation the whole app stops working,I can probably work around this by creating sections within article however then I can't have dedicated 'nav' for my sections.