Opened 12 years ago

Closed 12 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:


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.

Change History (1)

comment:1 Changed 12 years ago by James Burke

Resolution: fixed
Status: newclosed

(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

Note: See TracTickets for help on using tickets.