[MERGE] Merged trunk-trigger-on_mode_switch.

bzr revid: vta@openerp.com-20121010094946-he9kgd7dch6meb2t
This commit is contained in:
vta vta@openerp.com
2012-10-10 11:49:46 +02:00
@@ -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]);