diff options
| author | Simon Lejeune <sle@openerp.com> | 2016-10-12 22:04:43 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2016-10-13 15:51:09 +0200 |
| commit | 5abe76c2d27a6ab07eebb382205c841acf32c551 (patch) | |
| tree | 689bdbe0e67c15df2df47faf651f7b85364aa243 /addons/barcodes/static/src/js/form_view_barcode_handler.js | |
| parent | cfe0dc6d3442f31ffb1638595daf330dc225b34c (diff) | |
[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.
Diffstat (limited to 'addons/barcodes/static/src/js/form_view_barcode_handler.js')
0 files changed, 0 insertions, 0 deletions
