While opening any modal window (NewForm
, EditForm
, custom or OOTB) on a SharePoint list in Internet Explorer I get few
SCRIPT70: Permission denied
errors. This causes problem with saving the form later (modal window is not closing).
IE is working with a standard server compatibility settings and tested solution worked before without a doubt. I've tried to deploy older packages (which I'm sure worked) on several different collections and webs and the problem persists. Error occurs only in Internet Explorer with standard settings - forcing IE9 mode and newer in Developer Tools makes it disappear.
From what I red most of that kind of problems are caused by opening modal window from different host (strict cross-origin policy), but in my case it happens even with a standard 'Add Element' modal window opened from SharePoint list directly. Error occurs with every reference to JavaScript document
object.