BenW0 / eval-model-gen

A tool for iteratively generating test parts for 3D printer qualification
0 stars 0 forks source link

Handle back/forward more intelligently #2

Open BenW0 opened 8 years ago

BenW0 commented 8 years ago

Switch from using hashes to store the page state to using parameters, and just tell the backend to ignore them. This would make browser back/forward behavior and resetting of control values much more transparent.

Trap the Back and Forward button so it goes back and remembers where you left the slider, and forward correctly updates the # with the modified information

Don't have the page reload on Back button or Next button -- just update appropriate variables and re-call a trimmed- down version of the current $.ready function.