mirror of https://github.com/OCA/web.git
[UPDATE] make return stamtent blank as no effect of any custom message on beforeunload event
parent
57cbc7bdc1
commit
1ed2f4a12d
|
@ -10,7 +10,7 @@ odoo.define('web_confirm_window_close', function (require) {
|
||||||
if ($('html').find('.oe_form_dirty').length) {
|
if ($('html').find('.oe_form_dirty').length) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
return 'Your have unsaved data. Are you sure you want to close window?';
|
return "";
|
||||||
},
|
},
|
||||||
|
|
||||||
start: function() {
|
start: function() {
|
||||||
|
|
Loading…
Reference in New Issue