fix for autocomplete bug
This commit is contained in:
parent
20a87b1392
commit
85d4ea4f8b
|
@ -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 New Issue
Block a user