fix undefined var in InfoList

This commit is contained in:
rolux 2014-01-15 04:53:24 +05:30
parent 60f7599dbf
commit 145bab2267

View file

@ -274,7 +274,7 @@ Ox.InfoList = function(options, self) {
if (arguments.length == 1) {
return that.$element.value(id);
} else if (arguments.length == 2 && Ox.isString(arguments[1])) {
return that.$element.value(id, key);
return that.$element.value(id, arguments[1]);
} else {
Ox.forEach(Ox.makeObject(args), function(value, key) {
that.$element.value(id, key, value);