Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on pages with multiple forms #28

Open
Stonester opened this issue Jan 11, 2017 · 0 comments
Open

Errors on pages with multiple forms #28

Stonester opened this issue Jan 11, 2017 · 0 comments

Comments

@Stonester
Copy link

I believe there is an issue using jqModal on a page that has multiple forms. It looks like the initialization process: $('selector').jqm(options) builds a view model with properties for each target, the selector returns. Whereas the show: $('selector').jqmShow() slots the target of the selector into the page's form via .prependTo('form') creating copies of each modal in each of the page's forms. If for instance, you targeted a single modal on the page, but the page had two forms: The view modal would contain data for one modal, but after jqmShow() the page would contain two modals - one in each of the forms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant