diff --git a/VERSION b/VERSION index 4cc82eab..92241d6a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2012-01-16 21:58:15) stable +Version 1.99.4 (2012-01-16 22:03:22) stable diff --git a/gluon/html.py b/gluon/html.py index 97c29b35..83c485cd 100644 --- a/gluon/html.py +++ b/gluon/html.py @@ -1611,6 +1611,7 @@ class INPUT(DIV): if name and hasattr(self, 'errors') \ and self.errors.get(name, None) \ and self['hideerror'] != True: + self['_class'] = (self['_class'] and self['_class']+' ' or '')+'invalidinput' return DIV.xml(self) + DIV(self.errors[name], _class='error', errors=None, _id='%s__error' % name).xml() else: