From 1b0f30e7a7ed61d6285d99871a0622f8592af110 Mon Sep 17 00:00:00 2001 From: Pablo Fuentes Date: Tue, 17 Jul 2018 11:55:11 +0200 Subject: [PATCH] [FIX] web_drop_target: remove ES6 sintax --- web_drop_target/static/src/js/web_drop_target.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_drop_target/static/src/js/web_drop_target.js b/web_drop_target/static/src/js/web_drop_target.js index fadbd208..9bddedbd 100644 --- a/web_drop_target/static/src/js/web_drop_target.js +++ b/web_drop_target/static/src/js/web_drop_target.js @@ -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; },