Opened 11 years ago
Closed 11 years ago
#9895 closed defect (fixed)
dojo.back a problem for XD loading/debugAtAllCosts
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Core | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojo.back.init() needs to be called as part of page load. However, an xd-loaded dojo.back (which could happen with debugAtAllCosts) makes this near impossible to work.
Change dojo.back.init() to console.error() out if it is called after page load, with instructions on how to fix it.
Also worth a documentation note too.
Note: See
TracTickets for help on using
tickets.
(In [20106]) Fixes #9895, informs developer if dojo.back.init() is not called at the right time, avoiding a document.write that would wipe out the page and be hard to debug. \!strict