Opened 13 years ago

Closed 13 years ago

#1050 closed enhancement (fixed)

Serving Xinha Files on central server

Reported by: vercellone at earthlink dot net Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:


I am attempting to host xinha on a central server, much like Yahoo does with YUI ( so that my page in domain can reference xinha scripts hosted on the domain as follows:

    <script type="text/javascript">
         _editor_url  = ""
        _editor_lang = "en";
    <script type="text/javascript" src=""></script>
    <script type="text/javascript" src="xinha/XinhaConfig.js"></script>

The problem I ran into, is that in IE, manipulation of an iframe with a src that references a different domain is not allowed. So, I override URIs.blank to, but line 999 of XinhaCore?.js unconditionally preprends the _editor_url as follows:

var _9c=document.createElement("iframe");

As a temporary solution I stripped out the _editor_url+ bit, but I am interested in alternatives. Please advise.

Change History (1)

comment:1 Changed 13 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

See changeset:868 you can now just change the URIs.blank to your full URL.

Note: See TracTickets for help on using tickets.