saribe / eModal

Easy Modal for bootstrap, is a simple way to create modal dialogs using javascript.
http://saribe.github.io/eModal
271 stars 97 forks source link

eModal Ajax and Javascript issue with strict Content Security Policy (CSP) #76

Closed tcaduto closed 5 years ago

tcaduto commented 6 years ago

Hi, I am using the Ajax functionality to load a form into a dialog, this works great,however we have been required to enable a strict CSP header and not the java script does not work in the form when loaded in the dialog. With the Jquery UI modal dialog, they have an open event where you can insert or reference Javascript functions in the main page that called the dialog and that works with the strict CSP. Is there anyway to do this with Emodal?