iframe problem with upload.js
I have a problem and I tried tenth of hack, but with no success…
My WordPress is in a iframe (it must be so in my case) and everything works fine except when I click ‘Send to editor’ button -> it tells me “win.edInsertContent is not a function”.
If I open it out of the iframe, I don’t have the problem… but unfortunately I need to open it in an iframe…
I tried to hack it by changing
but I got another error:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://.../wp-admin/post-new.php :: edInsertContent :: line 242" data: no]
Does anyone have an idea?
Thank you in advance,
PS: I use FireFox 220.127.116.11
- The topic ‘iframe problem with upload.js’ is closed to new replies.