Modal should inject .modal-content instead of .modal-body
Created by: mediafreakch
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?