#7 new

Document Domain Problems

Reported by AConway | July 15th, 2009 @ 07:14 AM

I am loading my tinyMCE text area from a domain like http://www..com/ but the javascript files are served through a different domain http://static..com/ so when I select one of the tinyMCE plugins that cause a popup (i.e. Insert Link) I get a blank popup window with "{#advanced_dlg.link_url}" as the title.

I understand from other forums that this is because of cross domain security, and the solution for other has been to host the JS from the same domain, but in my RoR solution this is not an option, I noticed the "Uncomment and change this document.domain value if you are loading the script cross subdomains" in the tiny_mce_popup.js file but when changing that to http://static..com/ i still receive the same area.

Any ideas?

Thanks, Andrew.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Ruby on Rails plugin that allows easy implementation of the TinyMCE editor into your applications.

People watching this ticket