mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] fixed issue for chrome; now, for unsaved data, it displays dialog of warning
This commit is contained in:
@@ -10,6 +10,7 @@ odoo.define('web_confirm_window_close', function (require) {
|
||||
if ($('html').find('.oe_form_dirty').length) {
|
||||
e.preventDefault();
|
||||
}
|
||||
return 'Your have unsaved data. Are you sure you want to close window?';
|
||||
},
|
||||
|
||||
start: function() {
|
||||
|
||||
Reference in New Issue
Block a user