1
0
Fork 0
forked from 0x2620/oxjs

updates to url controller, filter and form elements

This commit is contained in:
rlx 2011-11-10 19:52:26 +00:00
commit 07c79ed7ac
7 changed files with 162 additions and 79 deletions

View file

@ -137,13 +137,16 @@ Ox.InputGroup = function(options, self) {
};
that.value = function() {
return self.options.inputs.map(function(input) {
var values = self.options.inputs.map(function(input) {
var ret = null;
['checked', 'selected', 'value'].forEach(function(v) {
input[v] && (ret = input[v]());
});
return ret;
});
return self.options.joinValues
? self.options.joinValues(values)
: values;
};
return that;