projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7060524
)
[FIX] web: return _super deferred in start method
author
Denis Ledoux
<dle@odoo.com>
Tue, 29 Jul 2014 17:43:56 +0000
(19:43 +0200)
committer
Denis Ledoux
<dle@odoo.com>
Tue, 29 Jul 2014 17:43:56 +0000
(19:43 +0200)
Forget to include the _super method in the deferred returned by the start function of the search view
See previous rev.
70605240a9e4e0279bd339c3d80cab3862a58abd
addons/web/static/src/js/search.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/search.js
b/addons/web/static/src/js/search.js
index
0ee62d4
..
566179c
100644
(file)
--- a/
addons/web/static/src/js/search.js
+++ b/
addons/web/static/src/js/search.js
@@
-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 () {