Hello,

I'm having a problem with TinyMCE integration, but let me first
describe how my current development setup looks like. Directory
structure is like this:

project.com
|-project
|--all the django stuff
|-static
|--static stuff including javascript and some php

The thing is that the whole project.com is served by apache because of
php in static dir which is there for TinyMCE file browser -
TinyBrowser. The address for apache virtual host is http://localhost
and I use it only for static files, for serving Django files I use
Django development server in "project" directory and address
http://localhost:8000. And I think that this is a problem.

Whenever TinyMCE wants to open a new popup window, it's blank and I
think that "same origin policy for javascript" [1] is reason for this.
I've read that this should be easily solved by using document.domain
javascript statement but it somehow doesn't work for me.

Did anyone have similar problems or has any idea how to solve it?

Thanks,
Matic Žgur

[1] https://developer.mozilla.org/En/Same_origin_policy_for_JavaScript

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to