jrCore_page_set_no_header_or_footer breaks javascript added to form in modal
Jamroom Developers
just guessing.
Maybe open the modal and store it to a variable:
var the_modal = $.modal.open()
Then when you want to close it use the variables close function
Guess is that the meta include includes another different modal and it doesnt know about the parent modal that it is contained in, so the child modal is closing when you want the parent to close.
Or in the ajax call that brought in the form, once the form is saved, fire another function that closes the window.
Or dont put it in a modal, put it into the page and then re-add the contents after the save is completed or the cancel is clicked.
updated by @michael: 03/31/18 08:26:38PM