typo
This commit is contained in:
parent
16ab404619
commit
08e1561e43
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ Ox.OptionGroup = function(items, min, max, property) {
|
||||||
this.value = function() {
|
this.value = function() {
|
||||||
var value = items.filter(function(item) {
|
var value = items.filter(function(item) {
|
||||||
return item[property];
|
return item[property];
|
||||||
}).function(item) {
|
}).map(function(item) {
|
||||||
return item.id;
|
return item.id;
|
||||||
});
|
});
|
||||||
return max == 1 ? (value.length ? value[0] : '') : value;
|
return max == 1 ? (value.length ? value[0] : '') : value;
|
||||||
|
|
Loading…
Reference in a new issue