[FIX] web: missing self initialisation
The self is needed in the _value() method below, opw 608878
This commit is contained in:
parent
0d22a34fa9
commit
7a50b3b057
|
@ -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
|
* Sets up search view's view-wide auto-completion widget
|
||||||
*/
|
*/
|
||||||
setup_global_completion: function () {
|
setup_global_completion: function () {
|
||||||
|
var self = this;
|
||||||
var autocomplete = this.$el.autocomplete({
|
var autocomplete = this.$el.autocomplete({
|
||||||
source: this.proxy('complete_global_search'),
|
source: this.proxy('complete_global_search'),
|
||||||
select: this.proxy('select_completion'),
|
select: this.proxy('select_completion'),
|
||||||
|
|
Loading…
Reference in New Issue