democracyworks / hat-trick

Hat Trick - Rails wizards done right
MIT License
5 stars 0 forks source link

Keep old step metadata around so it can be accessed when Back button is pressed #14

Closed cap10morgan closed 12 years ago

cap10morgan commented 12 years ago

Current plan is to switch from hatTrick.metadata.currentStep to hatTrick.metadata[currentStepName].

We could also potentially just reset the currentStep attribute to point at a different step's metadata. That's probably less work overall if it works.

cap10morgan commented 12 years ago

This is 90% implemented on the fix-back-button branch. The only remaining piece is to make sure it can load step metadata on demand correctly when it isn't already there (such as when going back from the first step the browser loaded).

cap10morgan commented 12 years ago

Fully implemented in hat-trick 0.1.3.