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() {
|
function autocompleteFunction() {
|
||||||
var values = Ox.find(self.options.autocomplete, self.options.value);
|
return Ox.find(
|
||||||
return self.options.autocompleteReplace
|
self.options.autocomplete,
|
||||||
? values[0] : values[0].concat(values[1]);
|
self.options.value,
|
||||||
|
self.options.autocompleteReplace
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function autocompleteCallback(values) {
|
function autocompleteCallback(values) {
|
||||||
|
|
Loading…
Reference in a new issue