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:
0d22a34
)
[FIX] web: missing self initialisation
author
Martin Trigaux
<mat@openerp.com>
Tue, 12 Aug 2014 14:08:30 +0000
(16:08 +0200)
committer
Martin Trigaux
<mat@openerp.com>
Tue, 12 Aug 2014 14:08:30 +0000
(16:08 +0200)
The self is needed in the _value() method below, opw 608878
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
30b381d
..
c09661f
100644
(file)
--- a/
addons/web/static/src/js/search.js
+++ b/
addons/web/static/src/js/search.js
@@
-466,6
+466,7
@@
instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
* Sets up search view's view-wide auto-completion widget
*/
setup_global_completion: function () {
+ var self = this;
var autocomplete = this.$el.autocomplete({
source: this.proxy('complete_global_search'),
select: this.proxy('select_completion'),