Hello,
Wondering if anyone might be able to help me. Trying to
use one server to serve all FCKEditors, which can be
called by any other server I have. Also, File
upload/download. The problem I have is the cross
domain issue. If I set document.domain to second level
domain,so they can all match, you would thing they
would work fine. The problem, however, exists when
using showModalDialog for all dialogs. If I set the
document.domain, (even if I reset it back to what it
was), the dialogArguments variable cannot be found.
This issue was because of a security "fix" or break by
Microsoft.
I said, ok, well, at that point I have tried mangling with
things, but not getting anywhere. I have everything set
up perfectly how I want it, except for this. The only
thing it won't do now, is accept initial text (because of
the domain problem) So, I am wondering, begging
anyone that might have any good suggestions to let me
know. Even someone to point me in a direction where I
can find detailed info on the showModalDialog window,
that states how this domain thing works, so maybe I can
find a resolution.
Thanks so much,
Paul
Wondering if anyone might be able to help me. Trying to
use one server to serve all FCKEditors, which can be
called by any other server I have. Also, File
upload/download. The problem I have is the cross
domain issue. If I set document.domain to second level
domain,so they can all match, you would thing they
would work fine. The problem, however, exists when
using showModalDialog for all dialogs. If I set the
document.domain, (even if I reset it back to what it
was), the dialogArguments variable cannot be found.
This issue was because of a security "fix" or break by
Microsoft.
I said, ok, well, at that point I have tried mangling with
things, but not getting anywhere. I have everything set
up perfectly how I want it, except for this. The only
thing it won't do now, is accept initial text (because of
the domain problem) So, I am wondering, begging
anyone that might have any good suggestions to let me
know. Even someone to point me in a direction where I
can find detailed info on the showModalDialog window,
that states how this domain thing works, so maybe I can
find a resolution.
Thanks so much,
Paul
RE: cross domain support
RE: cross domain support
To make that work, I had to remove the frmUpload.submit() ; and oWindow.setImage = setImage ; calls from the browserServer and uploadFile methods in the dialog html files, and place them in the popups (filemanager directory). Everything else should work fine.
One other suggestion I had was to create a new variable sUploadURLdisplay with a URL to code that would display a page (so the user would see it is uploading), use that in the openNewWindow call of the uploadFile function, and have that URL page then call the form submit for the upload. That way the user doesn't have to wait for the upload to happen to know that they are uploading a file. Seems to work well now, cross server with these modifications, even with the security fix from microsoft. Now any server in mydomain.com can use the fckeditor, no matter what OS they are using. Great job.