[FIX] web: missing self initialisation

The self is needed in the _value() method below, opw 608878
This commit is contained in:
Martin Trigaux 2014-08-12 16:08:30 +02:00
parent 0d22a34fa9
commit 7a50b3b057
1 changed files with 1 additions and 0 deletions

View File

@ -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'),