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 was archived by the owner on Oct 8, 2021. It is now read-only.
The gist of the issue is that if I am on a page with url such as:
example.com/test/
and I have a form contained with in a popup, it will not submit on the first try, but will close the popup. Upon opening the popup again, and clicking on the same button(which will now have the ui-btn-active class), the form then submits as expected.
On a page such as:
example.com/test?test=1
Everything works as expected.
Thank you in advance for your time! Any help or suggestions are much appreciated.
The text was updated successfully, but these errors were encountered:
The popup must not prevent default when going back to a page with the same URL
from which it was opened, if the reloadPage flag is set. Rather, it must close
immediately, handling the page change event as if the user were navigating to a
different page.
Fixesjquery-archivegh-6119
The popup must not prevent default when going back to a page with the same URL
from which it was opened if the reloadPage flag is set. Rather, it must close
immediately, handling the page change event as if the user were navigating to a
different page.
Fixesjquery-archivegh-6119
I have run into this precise issue as well. Beyond adding a fake GET parameter to the page URL, any suggestions for a workaround between now and when this is fixed?
Update to my earlier question for anyone else who may run into this between now and 1.5.0: an explicit form submission via onclick= seems to do the trick.
The popup must not prevent default when going back to a page with the same URL
from which it was opened if the reloadPage flag is set. Rather, it must close
immediately, handling the page change event as if the user were navigating to a
different page.
Fixesjquery-archivegh-6119Closesjquery-archivegh-7929
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've outlined this here as well:
https://forum.jquery.com/topic/form-submit-button-in-jquery-mobile-popup-does-not-do-post-back-on-first-click#14737000004284831
Seems someone found this problem before I did but didn't leave enough for someone to run with. I hope to have filled this gap.
(all of this involves the first page load, I'm not navigating anywhere else via ajax)
I have created an example of this issue here:
http://jsbin.com/ikijas
The gist of the issue is that if I am on a page with url such as:
example.com/test/
and I have a form contained with in a popup, it will not submit on the first try, but will close the popup. Upon opening the popup again, and clicking on the same button(which will now have the ui-btn-active class), the form then submits as expected.
On a page such as:
example.com/test?test=1
Everything works as expected.
Thank you in advance for your time! Any help or suggestions are much appreciated.
The text was updated successfully, but these errors were encountered: