forked from Techsystech/web
[FIX] web_drop_target: remove ES6 sintax
parent
bb2903345d
commit
d12de11581
|
@ -110,7 +110,7 @@ odoo.define('web_drop_target', function(require) {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
_add_overlay() {
|
_add_overlay: function() {
|
||||||
if(!this._drop_overlay){
|
if(!this._drop_overlay){
|
||||||
var o_content = jQuery('.o_content'),
|
var o_content = jQuery('.o_content'),
|
||||||
view_manager = jQuery('.o_view_manager_content');
|
view_manager = jQuery('.o_view_manager_content');
|
||||||
|
@ -128,7 +128,7 @@ odoo.define('web_drop_target', function(require) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_remove_overlay() {
|
_remove_overlay: function() {
|
||||||
this._drop_overlay.remove();
|
this._drop_overlay.remove();
|
||||||
this._drop_overlay = null;
|
this._drop_overlay = null;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue