typo (fix for autocomplete)

This commit is contained in:
rolux 2010-07-15 16:41:40 +02:00
parent f7074775d6
commit 9150a75f3b

View file

@ -492,7 +492,7 @@ $(function() {
.append(
$ui.findInput = new Ox.Input({
autocomplete: function(key, value, callback) {
var findKey = getObjectById(config.findKeys, key)
var findKey = Ox.getObjectById(config.findKeys, key)
Ox.print("autocomplete", key, value);
value === "" && Ox.print("Warning: autocomplete function should never be called with empty value");
if ("autocomplete" in findKey && findKey.autocomplete) {