Skip to content
Snippets Groups Projects
Commit 5abe76c2 authored by Simon Lejeune's avatar Simon Lejeune
Browse files

[FIX] web: clear_uncommitted_changes on browser's back button

This is done by guarding the `on_hashchange` evant handler with the
`clear_uncommitted_changes` function.

Note that the url has already changed when we are in this handler, so we
make sure to restore the old url when the user chose to continue its
edition.
parent cfe0dc6d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment