[MERGE] Merged trunk-trigger-on_mode_switch.
bzr revid: vta@openerp.com-20121010094946-he9kgd7dch6meb2t
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user