fix for autocomplete bug
This commit is contained in:
parent
8fb9319192
commit
ba3410eaf3
2 changed files with 2 additions and 1 deletions
|
@ -2000,7 +2000,7 @@ requires
|
|||
|
||||
function onClick(event, data) {
|
||||
Ox.print("onClick", data);
|
||||
that.$input.focus().val(Ox.stripTags(data.title));
|
||||
that.$input.val(Ox.stripTags(data.title));
|
||||
self.autocompleteMenu.hideMenu();
|
||||
submit();
|
||||
}
|
||||
|
|
|
@ -283,6 +283,7 @@ $(function() {
|
|||
],
|
||||
range: [0, 10]
|
||||
}, function(result) {
|
||||
Ox.print("calling callback", result.data.items)
|
||||
callback($.map(result.data.items, function(v) {
|
||||
return v.title;
|
||||
}))
|
||||
|
|
Loading…
Reference in a new issue