fix undefined var in InfoList
This commit is contained in:
parent
60f7599dbf
commit
145bab2267
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ Ox.InfoList = function(options, self) {
|
||||||
if (arguments.length == 1) {
|
if (arguments.length == 1) {
|
||||||
return that.$element.value(id);
|
return that.$element.value(id);
|
||||||
} else if (arguments.length == 2 && Ox.isString(arguments[1])) {
|
} else if (arguments.length == 2 && Ox.isString(arguments[1])) {
|
||||||
return that.$element.value(id, key);
|
return that.$element.value(id, arguments[1]);
|
||||||
} else {
|
} else {
|
||||||
Ox.forEach(Ox.makeObject(args), function(value, key) {
|
Ox.forEach(Ox.makeObject(args), function(value, key) {
|
||||||
that.$element.value(id, key, value);
|
that.$element.value(id, key, value);
|
||||||
|
|
Loading…
Reference in a new issue