use new Ox.find
This commit is contained in:
parent
565dc6ad35
commit
c30fe02850
1 changed files with 5 additions and 3 deletions
|
@ -326,9 +326,11 @@ Ox.Input = function(options, self) {
|
|||
}
|
||||
|
||||
function autocompleteFunction() {
|
||||
var values = Ox.find(self.options.autocomplete, self.options.value);
|
||||
return self.options.autocompleteReplace
|
||||
? values[0] : values[0].concat(values[1]);
|
||||
return Ox.find(
|
||||
self.options.autocomplete,
|
||||
self.options.value,
|
||||
self.options.autocompleteReplace
|
||||
);
|
||||
}
|
||||
|
||||
function autocompleteCallback(values) {
|
||||
|
|
Loading…
Reference in a new issue