Opened 11 years ago
Closed 8 years ago
#10534 closed defect (fixed)
Dynamically Loading Editor.js/RichText.js Fails Without useXDomain
Reported by: | David Alan Hjelle | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Editor | Version: | 1.4.0 |
Keywords: | editor dynamic afteronload usexdomain richtext | Cc: | |
Blocked By: | Blocking: |
Description
"Could not load 'dijit.Editor'; last tried '../dijit/Editor.js' http://www.domain.com/dojo-release-1.4.0/dojo/dojo.js Line 28" occurs in the attached .html file unless I specify "useXDomain: true" in djConfig. I have not specified allowXdRichTextSave.
It appears that the require is failing in RichText.js
in the initialization portion, lines 13-34.
The comments here point out that dojo.doc.write won't work unless RichText.js
is included in dojo.js, but the conditionals don't seem to reflect this. Only dojo._postLoad is checked, and it seems as if afterOnLoad ought to be checked as well.
Possibly related to ticket 7000 and Ticket 9638.
Attachments (1)
Change History (4)
Changed 11 years ago by
Attachment: | test4.html added |
---|
comment:1 Changed 11 years ago by
Owner: | set to Jared Jurkiewicz |
---|
comment:2 Changed 10 years ago by
Milestone: | tbd → future |
---|
comment:3 Changed 8 years ago by
Milestone: | future → 1.7 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
That dojo.doc.write() code was removed in [24328], so this is presumably no longer an issue.