backbone.js - Browser history not maintained when using backbone history with hashchange -
I am using a backbone for a backbone / flask app. History To keep a history of a specific page, and I am using parts of the flask to route through other parts of the app
A standard user flows through my application like this Will be:
- Load page
/ location
; The/ location
page is served by the flask and does not contain much javascript, it just shows a few buttons. - The user clicks on a button and it is called
/ room /
; The application then handles the routing on this page, and returns an html page with backbone application. - When this page loads, I call
backbone.index.start.start ()
and I will register some routes that are controlled by the Backbone app on this page. should go.
Now, when a user goes to many of these routes, and then clicks the browser's back button, the browser should only / room /
/ location
page to / room /
How can I work for . Backbone.history
was started?
Comments
Post a Comment