1

Topic: "loading..." when launching file/image mgr from iFrame FireFox

When I launch the file/image manager from FireFox 3.6.8 in a iFrame, I get the "loading..." icon and it never loads.  I did see some discussion with this in previous versions of tinymce where people suggest a fix.  Does any one have a fix for the latest version of Tinymce?

2

Re: "loading..." when launching file/image mgr from iFrame FireFox

Could be things like mod_rewrite or missing files. Use Firebug or Fiddler to see if there are any loading errors there.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: "loading..." when launching file/image mgr from iFrame FireFox

The first error that I see is "Permission denied for <http://tinymce-local.ident.com> to get property Window.$ from <http://dev.ident.ws>."

The website page domain is "http://dev.ident.ws" and on that page is an iframe that calls "http://tinymce-local.ident.com".  This works fine in IE but in FireFox the page never finishes loading.

I have seen some other discussions about cross-domain references in the forum and that probably represents this case as well.

4

Re: "loading..." when launching file/image mgr from iFrame FireFox

Yes, you need to relax the document.domain to ident.com. So add document.domain = "ident.com"; to your page and also the the imagemanager.js file. We don't have any config option for this since it's a uncommon scenario.

Best regards,
Spocke - Main developer of TinyMCE

5

Re: "loading..." when launching file/image mgr from iFrame FireFox

If I put the change in both places as you recommend, neither IE nor FireFox work.  If I put it only  in the main page then IE continues to work and Firefox makes it past the first error that we had previously but gets a new error of "t.currentWin is undefined "

6

Re: "loading..." when launching file/image mgr from iFrame FireFox

If I changed both of these domains to have a main "ident.com" domain (e.g. dev.ident.com & tinymce-local.ident.com), even those they reside on different boxes/VMs, would that resolve the conflict?

7

Re: "loading..." when launching file/image mgr from iFrame FireFox

Yes, it can't communicate between windows if they don't have the same document.domain and it's relaxed. This is a bit of a struggle to get working.

Best regards,
Spocke - Main developer of TinyMCE