The issue is when using Magento’s file manager to upload and insert photos, the Insert File button does nothing. You get the error TypeError: opener is null in browser.js.
In the file js\mage\adminhtml\browser.js, around line 228, change the two instances of opener to notOpener.
getTargetElement: function() { if (typeof(tinyMCE) != 'undefined' && tinyMCE.get(this.targetElementId)) { if ((notOpener = this.getMediaBrowserOpener())) { var targetElementId = tinyMceEditors.get(this.targetElementId).getMediaBrowserTargetElementId(); return notOpener.document.getElementById(targetElementId); } else { return null; } } else { return document.getElementById(this.targetElementId); } },
Orignal post here: http://www.fortwaynewebdevelopment.com/magento-admin-editor-opener-null-issue-inserting-imagesfiles/
Recent Comments