Merge pull request #1010 from devang-dreambits/10.0-fix-issue-727

10.0-fix-issue-727
This commit is contained in:
Pedro M. Baeza
2018-08-04 16:20:43 +02:00
committed by GitHub
3 changed files with 3 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ Images
Contributors
------------
* Devang Pipaliya <devang@dreambits.in>
* Stefan Rijnhart <stefan@opener.amsterdam>
Maintainer

View File

@@ -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',

View File

@@ -10,6 +10,7 @@ odoo.define('web_confirm_window_close', function (require) {
if ($('html').find('.oe_form_dirty').length) {
e.preventDefault();
}
return "";
},
start: function() {