Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#517 closed defect (fixed)

dojo.undo.browser not able to detect back button for first page

Reported by: James Burke Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.2
Keywords: back button Cc:
Blocked By: Blocking:

Description

dojo.undo.browser does not detect the back button used to get back to the original, loaded page.

I was hoping to do a quick modification to add a dojo.undo.browser.startHistory(kwargs) method and just add something on to the history stack for that first page (but don't do the other work that addHistory() does), but I think it will be a little complicated since we rely on a hidden iframe in some cases, and I haven't traced the iframe behavior for the back button press case described above.

Change History (2)

comment:1 Changed 14 years ago by James Burke

Keywords: back button added
Milestone: 0.3release
Resolution: fixed
Status: newclosed

A new method, dojo.undo.browser.setInitialState(state), fixes the issue. This should now work correctly in the nightly builds starting March 17.

comment:2 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.