From f0a96a853b1d9c4dbc933cb267b39c599c4c17b9 Mon Sep 17 00:00:00 2001 From: Denis Mudarisov Date: Tue, 18 Feb 2020 16:14:34 +0500 Subject: [PATCH] :rainbow: pre-commit: no-empty-function --- mail_move_message/static/src/js/mail_move_message.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mail_move_message/static/src/js/mail_move_message.js b/mail_move_message/static/src/js/mail_move_message.js index b596446..79f38d8 100644 --- a/mail_move_message/static/src/js/mail_move_message.js +++ b/mail_move_message/static/src/js/mail_move_message.js @@ -53,7 +53,9 @@ odoo.define("mail_move_message.relocate", function(require) { thread = this.fields.thread.thread; thread.on("move_message", this, thread.on_move_message); } - return $.when(result).done(function() {}); + return $.when(result).done(function() { + // Empty + }); }, }); @@ -63,7 +65,9 @@ odoo.define("mail_move_message.relocate", function(require) { var result = this._super.apply(this, arguments); // For show wizard in the channels this.thread.on("move_message", this, this.thread.on_move_message); - return $.when(result).done(function() {}); + return $.when(result).done(function() { + // Empty + }); }, });