author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Thu, 09 Jul 2009 19:35:32 +0200 | |
branch | stable |
changeset 2362 | f2409d5f2b75 |
parent 2361 | 8f00836580f1 |
child 2363 | 1190b312bfe3 |
web/formfields.py | file | annotate | diff | comparison | revisions |
--- a/web/formfields.py Thu Jul 09 17:16:49 2009 +0200 +++ b/web/formfields.py Thu Jul 09 19:35:32 2009 +0200 @@ -207,7 +207,7 @@ super(StringField, self).init_widget(widget) if isinstance(self.widget, TextArea): self.init_text_area(self.widget) - if isinstance(self.widget, TextInput): + elif isinstance(self.widget, TextInput): self.init_text_input(self.widget) def init_text_input(self, widget):