mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[UPDATE] make return stamtent blank as no effect of any custom message on beforeunload event
This commit is contained in:
@@ -10,7 +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?';
|
||||
return "";
|
||||
},
|
||||
|
||||
start: function() {
|
||||
|
||||
Reference in New Issue
Block a user