You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
When a form is submitted via Ajax, jQM updates the navigation bar with form's action rather than the resulting url in the case of a redirect. i.e if you post to /things and redirect to /things/1 on a successful post, the resulting page is /things/1 but the navigation bar says /things. xjjk has graciously offered a simple test case, which he will add to the comments soon.
The text was updated successfully, but these errors were encountered:
You should be able to set the page element's data-url attribute to the new relative url (in this case /things/1). See the nav documentation under Data-url Storage.
Thanks, I did just realize that would do it, not so bad. It still seems to me though that we wouldn't want the default behavior to mimic the browser, and then data-url should be an override in case we don't want the standard.
When a form is submitted via Ajax, jQM updates the navigation bar with form's action rather than the resulting url in the case of a redirect. i.e if you post to /things and redirect to /things/1 on a successful post, the resulting page is /things/1 but the navigation bar says /things. xjjk has graciously offered a simple test case, which he will add to the comments soon.
The text was updated successfully, but these errors were encountered: