From 39e7fe3acf9f70bd2ab2aa5390c263b0d854081c Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Wed, 28 Mar 2012 21:02:00 -0500 Subject: [PATCH] fixed hideerror behaviour --- VERSION | 2 +- gluon/html.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index d1fd6eb2..558fa9f4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-03-28 18:40:08) dev +Version 1.99.7 (2012-03-28 21:01:13) dev diff --git a/gluon/html.py b/gluon/html.py index e326a269..8fa9dd91 100644 --- a/gluon/html.py +++ b/gluon/html.py @@ -783,7 +783,7 @@ class DIV(XmlComponent): c.latest = self.latest c.session = self.session c.formname = self.formname - c['hideerror']=hideerror + if hideerror: c['hideerror'] = hideerror newstatus = c._traverse(status,hideerror) and newstatus # for input, textarea, select, option