I've got a JS error when uploading a new file within the Media Browser on a site where node edit page is using https. This problem goes away when I update the securepages config to remove
node/add/* from the list of secure pages. However I thought I should report it here.
The error I got caused the modal to remain open after I have saved the newly added file. The modal ends with a screen saying 'Document test.txt has been updated.' and remains open, hence I am unable to continue editing the node.
The JS error is:
Error: Permission denied to access property 'document'
on the line:
var $iframe = $('iframe.media-modal-frame', parent.window.document);
It seems it is probably hardcoded in the JS to use
http, where it should probably use
//. I haven't had a chance to look into this deeper yet.