Skip to content

Errors on pages with multiple forms #28

@Stonester

Description

@Stonester

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions