use new Ox.find

This commit is contained in:
rolux 2012-05-25 09:46:29 +02:00
parent 565dc6ad35
commit c30fe02850

View file

@ -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) {