1
0
Fork 0
forked from 0x2620/oxjs

some listmap fixes

This commit is contained in:
rolux 2011-05-30 14:06:58 +02:00
commit 5e54f5394d
3 changed files with 16 additions and 8 deletions

View file

@ -38,7 +38,8 @@ Ox.Select = function(options, self) {
size: 'medium',
title: '',
type: 'text', // can be 'text' or 'image'
width: 'auto'
width: 'auto',
value: [],
})
// fixme: make default selection restorable
// or allow for extra action items below options
@ -168,7 +169,9 @@ Ox.Select = function(options, self) {
}
self.setOption = function(key, value) {
if (key == 'value') {
that.selectItem(value);
}
};
/*@