mirror of https://github.com/OCA/web.git
commit
fb000f2bf6
|
@ -42,6 +42,7 @@ Images
|
||||||
Contributors
|
Contributors
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
* Devang Pipaliya <devang@dreambits.in>
|
||||||
* Stefan Rijnhart <stefan@opener.amsterdam>
|
* Stefan Rijnhart <stefan@opener.amsterdam>
|
||||||
|
|
||||||
Maintainer
|
Maintainer
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{
|
{
|
||||||
'name': 'Check for unsaved data when closing browser window',
|
'name': 'Check for unsaved data when closing browser window',
|
||||||
'version': '10.0.1.0.0',
|
'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',
|
'category': 'Usability',
|
||||||
'website': 'https://github.com/oca/web',
|
'website': 'https://github.com/oca/web',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
|
|
@ -10,6 +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 "";
|
||||||
},
|
},
|
||||||
|
|
||||||
start: function() {
|
start: function() {
|
||||||
|
|
Loading…
Reference in New Issue