[FIX] web_drop_target: remove ES6 sintax

pull/1486/head
Pablo Fuentes 2018-07-17 11:55:11 +02:00 committed by Adrià Gil Sorribes
parent 37250086ab
commit c3467d9787
1 changed files with 2 additions and 2 deletions

View File

@ -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;
},