Opened 11 years ago

Closed 11 years ago

#7821 closed defect (fixed)

RichText and Editor unuseable in cross-domain build

Reported by: lipik Owned by: James Burke
Priority: blocker Milestone: 1.2.1
Component: Dijit Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

RichText?.js, line 373 (creating the iFrame for IE, Opera & Safari) reads: var burl = dojo.moduleUrl("dojo", "resources/blank.html")+""; This runs into x-domain security issue when using the cross-domain build. Fix is to change this line to say:

var burl = dojo.configdojoBlankHtmlUrl?
(dojo.moduleUrl("dojo", "resources/blank.html")+"") "";

This is pretty urgent, at least for me, so I have set all the fields below pretty high, in order to attract attention.

Change History (4)

comment:1 Changed 11 years ago by lipik

Fixing formatting:

RichText?.js, line 373 (creating the iFrame for IE, Opera & Safari) reads:

var burl = dojo.moduleUrl("dojo", "resources/blank.html")+"";

This runs into x-domain security issue when using the cross-domain build. Fix is to change this line to say:

var burl = dojo.config["dojoBlankHtmlUrl"] || dojo.moduleUrl("dojo", "resources/blank.html") || "";

This is pretty urgent, at least for me, so I have set all the fields below pretty high, in order to attract attention.

comment:2 Changed 11 years ago by James Burke

Milestone: tbd1.2.1
Owner: set to James Burke

I guess this was accidentally changed with the reverting of the experimental editor changes. This was working in Dojo 1.1.1.

comment:3 Changed 11 years ago by James Burke

(In [15422]) Refs #7821: xdomain loading of editor broken. Still needs to be applied to 1.2 branch.

comment:4 Changed 11 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [15423]) Fixes #7821. Getxdomain loading of editor to work on 1.2 branch.

Note: See TracTickets for help on using tickets.