From c14ec82eb0a5ee36edc3d52b51c43cbfabe96e5e Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 13 Dec 2011 10:35:57 +0100 Subject: [PATCH] [FIX] remove unused functions bzr revid: chs@openerp.com-20111213093557-3hab6yamep1pv9x2 --- addons/web/static/src/js/chrome.js | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 0e332252341..62c9d31de96 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -1093,30 +1093,6 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie $.bbq.pushState(url); }, - default_home: function () { - }, - /** - * Bundles the execution of the home action - * - * @param {Number} action action id - * @param {openerp.web.DataSet} dataset action executor - */ - execute_home_action: function (action, dataset) { - var self = this; - this.rpc('/web/action/load', { - action_id: action, - context: dataset.get_context() - }, function (meh) { - var action = meh.result; - action.context = _.extend(action.context || {}, { - active_id: false, - active_ids: [false], - active_model: dataset.model - }); - self.action_manager.do_action(action); - }); - }, - on_menu_action: function(action) { this.action_manager.do_action(action); },