Skip to content

Modal should inject .modal-content instead of .modal-body #9318

Closed
@mediafreakch

Description

I think that the modal plugin would benefit from the following enhancement:

when the remote option is specified (either using JS or data-remote attribute), the content should be loaded into .modal-content instead of .modal-body .

This would allow folks to customize the modal-header (including title) and footer as well and allow more flexibility and reuse of code...

What do you think?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions