[FIX] actually fix race condition on listview init: incorrect on_mode_switch override in xmo@openerp.com-20110816123510-gcx0dk8b2sgox5oi did not propagate primise from ViewManager's on_mode_switch
bzr revid: xmo@openerp.com-20110825082221-tasmo3je0wu4iw6h
This commit is contained in:
@@ -325,8 +325,9 @@ openerp.base.ViewManagerAction = openerp.base.ViewManager.extend({
|
||||
}
|
||||
},
|
||||
on_mode_switch: function (view_type) {
|
||||
this._super(view_type);
|
||||
this.shortcut_check(this.views[view_type]);
|
||||
return $.when(
|
||||
this._super(view_type),
|
||||
this.shortcut_check(this.views[view_type]));
|
||||
},
|
||||
shortcut_check : function(view) {
|
||||
var self = this;
|
||||
|
||||
Reference in New Issue
Block a user