#12353 closed defect (fixed)
dojo._postLoad not set when RichText.js is loaded via AMD
Reported by: | Adam Peller | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Editor | Version: | 1.6.0rc1 |
Keywords: | Cc: | Kris Zyp, ben hockey, Rawld Gill, [email protected]… | |
Blocked By: | Blocking: |
Description
Chuck Dumont reports needing to add dojo._postLoad=true to backCompat.js in order to satisfy dijit/_editor/RichText.js. Perhaps it's an issue of the addOnLoad handlers firing out of order? He was using requirejs
Attachments (1)
Change History (6)
Changed 10 years ago by
Attachment: | backCompat.patch added |
---|
comment:1 Changed 10 years ago by
Cc: | Kris Zyp ben hockey Rawld Gill [email protected]… added |
---|---|
Keywords: | kzyp neonstalwart rcgill [email protected] removed |
comment:2 Changed 10 years ago by
Looking at this again, I think the real bug is a typo in the addOnLoad handler (line 68):
dojo.postLoad = dojo.config.afterOnLoad = true;
should instead be
dojo._postLoad = dojo.config.afterOnLoad = true;
comment:3 Changed 10 years ago by
Owner: | set to Rawld Gill |
---|
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|
Good catch, Chuck. We can consider putting this in the 1.6 branch also.
Note: See
TracTickets for help on using
tickets.
patch from Chuck Dumont (IBM, CCLA)