From 412175b00549fa17f80bbc8e238b8cca535d83ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Maes?= Date: Thu, 2 Jun 2016 12:50:41 +0200 Subject: [PATCH] [FIX] web_tip : remove unused code that can trigger error --- addons/web_tip/static/src/js/tip.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/addons/web_tip/static/src/js/tip.js b/addons/web_tip/static/src/js/tip.js index 518c337b225..303bd1c1c68 100644 --- a/addons/web_tip/static/src/js/tip.js +++ b/addons/web_tip/static/src/js/tip.js @@ -24,10 +24,6 @@ var Tips = Class.extend({ self.tips = tips; }); - bus.on('action', this, function(action) { - self.on_action(action); - }); - bus.on('view_shown', this, function(view) { if (_.keys(view.fields_view).length === 0) { view.on('view_loaded', this, function(fields_view) { @@ -41,13 +37,6 @@ var Tips = Class.extend({ }); }, - // stub - on_action: function(action) { - var self = this; - var action_id = action.id; - var model = action.res_model; - }, - on_view: function() { var self = this;