mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_drop_target: remove ES6 sintax
This commit is contained in:
committed by
Jasmin Solanki
parent
ac463077c1
commit
515998afe3
@@ -107,7 +107,7 @@ odoo.define('web_drop_target', function(require) {
|
||||
});
|
||||
},
|
||||
|
||||
_add_overlay() {
|
||||
_add_overlay: function() {
|
||||
if(!this._drop_overlay){
|
||||
var o_content = jQuery('.o_content'),
|
||||
view_manager = jQuery('.o_view_manager_content');
|
||||
@@ -125,7 +125,7 @@ odoo.define('web_drop_target', function(require) {
|
||||
}
|
||||
},
|
||||
|
||||
_remove_overlay() {
|
||||
_remove_overlay: function() {
|
||||
this._drop_overlay.remove();
|
||||
this._drop_overlay = null;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user