nytimes / backbone.trackit

Manage unsaved changes in a Backbone Model.
202 stars 33 forks source link

Update backbone.trackit.js #24

Open cutesquirrel opened 9 years ago

cutesquirrel commented 9 years ago

Reset the unsaved models array if the user confirm to leave the page, otherwise, the confirm message appears on every History.navigate. Hope this helps Cheers