From 83c00b75ff7773916d8a1d6b7a8cc1087be3779d Mon Sep 17 00:00:00 2001 From: "vta vta@openerp.com" <> Date: Wed, 10 Oct 2012 11:37:00 +0200 Subject: [PATCH] [FIX] Fixed on_mode_switch. bzr revid: vta@openerp.com-20121010093700-nz326tlux3v5olqj --- addons/web_shortcuts/static/src/js/web_shortcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_shortcuts/static/src/js/web_shortcuts.js b/addons/web_shortcuts/static/src/js/web_shortcuts.js index 743f3fc73aa..c6d5a2f41fb 100644 --- a/addons/web_shortcuts/static/src/js/web_shortcuts.js +++ b/addons/web_shortcuts/static/src/js/web_shortcuts.js @@ -108,7 +108,7 @@ instance.web.UserMenu.include({ }); instance.web.ViewManagerAction.include({ - on_mode_switch: function (view_type, no_store) { + switch_mode: function (view_type, no_store) { var self = this; this._super.apply(this, arguments).then(function() { self.shortcut_check(self.views[view_type]);