From 08e1561e438cde630c7711df4285bd5ff62b4665 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 22 May 2012 17:35:26 +0200 Subject: [PATCH] typo --- source/Ox.UI/js/Form/Ox.OptionGroup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/Ox.OptionGroup.js b/source/Ox.UI/js/Form/Ox.OptionGroup.js index e36bab1b..7366e439 100644 --- a/source/Ox.UI/js/Form/Ox.OptionGroup.js +++ b/source/Ox.UI/js/Form/Ox.OptionGroup.js @@ -111,7 +111,7 @@ Ox.OptionGroup = function(items, min, max, property) { this.value = function() { var value = items.filter(function(item) { return item[property]; - }).function(item) { + }).map(function(item) { return item.id; }); return max == 1 ? (value.length ? value[0] : '') : value;