mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Merge pull request #1010 from devang-dreambits/10.0-fix-issue-727
10.0-fix-issue-727
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user