sourcebitsllc / chocolatechip-ui

Mobile Web App Framework
www.chocolatechip-ui.com
MIT License
616 stars 88 forks source link

UIGoToArticle #44

Closed thethan closed 10 years ago

thethan commented 10 years ago

I am building an app that authenticated through jquery and then the user is to be redirected to their "portal" page. I am using chui-3.0.8.js. My initial thought is to redirect through $.UIGoToArticle.('#portal') which is the id of my article. However, when it authenticated and gets to UIGoToArticle it returns the error

Uncaught TypeError: Cannot Read property 'id' of undefined. line 274 on the script.

If I am not using UIGoToArticle Correctly then please let me know and ignore this issue.

Thanks

sourcebits-robertbiggs commented 10 years ago

First, thanks for using ChUI. Next, where does the authentication take place? On a separate page? or is this all part of the same single page app? Would you mind pasting your redirect code here? Otherwise, you can just email a more detail email directly to chocolatechipui@gmail.com if you'd rather keep your code private.