diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-08-12 16:08:30 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-08-12 16:08:30 +0200 |
| commit | 7a50b3b057e17b689d945870449a2adde2b444bb (patch) | |
| tree | 6b4922a0f190ab670c08fa4b04d6f95be04c7ab6 /addons/web/static/src | |
| parent | 0d22a34fa93ebf39bb4338527e95cd2bbc3f69e0 (diff) | |
[FIX] web: missing self initialisation
The self is needed in the _value() method below, opw 608878
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/search.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/search.js b/addons/web/static/src/js/search.js index 30b381d8738..c09661f430d 100644 --- 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'), |
