fixed problem with hideerror, thanks Ricardo

This commit is contained in:
mdipierro
2013-03-31 19:09:27 -05:00
parent d6af8279bc
commit 72e9921901
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.5-stable+timestamp.2013.03.31.15.30.02
Version 2.4.5-stable+timestamp.2013.03.31.19.08.37
+2 -3
View File
@@ -840,9 +840,8 @@ class DIV(XmlComponent):
c.latest = self.latest
c.session = self.session
c.formname = self.formname
if hideerror and not \
self.attributes.get('hideerror', False):
c['hideerror'] = hideerror
c['hideerror'] = hideerror or \
self.attributes.get('hideerror', False)
newstatus = c._traverse(status, hideerror) and newstatus
# for input, textarea, select, option