improving listmap

This commit is contained in:
rolux 2011-05-22 14:39:57 +02:00
commit 5915acd72c
12 changed files with 152 additions and 39 deletions

View file

@ -131,7 +131,12 @@ Ox.ArrayInput = function(options, self) {
}
self.setOption = function(key, value) {
if (key == 'width') {
if (key == 'value') {
return Ox.map(self.$input, function($input) {
var value = $input.value();
return value === '' ? null : value;
});
} else if (key == 'width') {
setWidths();
}
}