1
0
Fork 0
forked from 0x2620/oxjs

add error handling in listmap, improve setting the error class in inputs and arrayinputs

This commit is contained in:
rlx 2011-10-03 23:25:38 +00:00
commit bbef38f0a9
3 changed files with 112 additions and 72 deletions

View file

@ -810,6 +810,7 @@ Ox.Input = function(options, self) {
self.options.value = self.options.value.toFixed(self.options.decimals);
}
self.$input.val(self.options.value);
that.is('.OxError') && that.removeClass('OxError');
setPlaceholder();
} else if (key == 'width') {
that.css({width: self.options.width + 'px'});