[FIX] web: return _super deferred in start method
Forget to include the _super method in the deferred returned by the start function of the search view
See previous rev. 70605240a9
This commit is contained in:
parent
70605240a9
commit
64ed698a58
|
@ -782,7 +782,7 @@ instance.web.SearchViewDrawer = instance.web.Widget.extend({
|
|||
|
||||
start: function() {
|
||||
var self = this;
|
||||
if (this.searchview.headless) return this.searchview.ready;
|
||||
if (this.searchview.headless) return $.when(this._super(), this.searchview.ready);
|
||||
var filters_ready = this.searchview.fields_view_get
|
||||
.then(this.proxy('prepare_filters'));
|
||||
return $.when(this._super(), filters_ready).then(function () {
|
||||
|
|
Loading…
Reference in New Issue