mirror of https://github.com/OCA/web.git
commit
fb000f2bf6
|
@ -42,6 +42,7 @@ Images
|
|||
Contributors
|
||||
------------
|
||||
|
||||
* Devang Pipaliya <devang@dreambits.in>
|
||||
* Stefan Rijnhart <stefan@opener.amsterdam>
|
||||
|
||||
Maintainer
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{
|
||||
'name': 'Check for unsaved data when closing browser window',
|
||||
'version': '10.0.1.0.0',
|
||||
'author': "Therp BV,Odoo Community Association (OCA)",
|
||||
'author': "Devang Pipaliya - Dreambits,Therp BV,Odoo Community Association (OCA)",
|
||||
'category': 'Usability',
|
||||
'website': 'https://github.com/oca/web',
|
||||
'license': 'AGPL-3',
|
||||
|
|
|
@ -10,6 +10,7 @@ odoo.define('web_confirm_window_close', function (require) {
|
|||
if ($('html').find('.oe_form_dirty').length) {
|
||||
e.preventDefault();
|
||||
}
|
||||
return "";
|
||||
},
|
||||
|
||||
start: function() {
|
||||
|
|
Loading…
Reference in New Issue