1
0
Fork 0
forked from 0x2620/oxjs

self.setOption ~> that.update

This commit is contained in:
j 2012-05-28 19:35:41 +00:00
commit 005d50c389
56 changed files with 919 additions and 933 deletions

View file

@ -27,6 +27,9 @@ Ox.FormElementGroup = function(options, self) {
width: 0
})
.options(options || {})
.update({
value: setValue
})
.addClass('OxInputGroup');
if (Ox.isEmpty(self.options.value)) {
@ -97,12 +100,6 @@ Ox.FormElementGroup = function(options, self) {
}
self.setOption = function(key, value) {
if (key == 'value') {
setValue();
}
};
/*@
replaceElement <f> replaceElement
(pos, element) -> <u> replcae element at position