form elements rewrite, part 2

This commit is contained in:
rolux 2011-12-21 21:03:52 +05:30
commit 074902d079
33 changed files with 163 additions and 153 deletions

View file

@ -47,7 +47,7 @@ Ox.SelectInput = function(options, self) {
self.$select.options({width: self.otherWidth})
.addClass('OxOverlapRight');
self.$input.show().focusInput(true);
self.options.value = self.$input.options('value');
self.options.value = self.$input.value();
}
}
});
@ -58,7 +58,6 @@ Ox.SelectInput = function(options, self) {
})
.bindEvent({
change: function(data) {
Ox.print('DATA:', data)
self.options.value = data.value;
}
})