From 013d8040affbcef2b17a1d823048354d8a4ed683 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 19 Mar 2007 04:22:43 +0000 Subject: [PATCH] =?utf8?q?Bugfix:=20falt=C3=B3=20el=20validator=20:S?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sercom/subcontrollers/curso/ejercicio/instancia/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sercom/subcontrollers/curso/ejercicio/instancia/__init__.py b/sercom/subcontrollers/curso/ejercicio/instancia/__init__.py index c4044d4..7a37e94 100644 --- a/sercom/subcontrollers/curso/ejercicio/instancia/__init__.py +++ b/sercom/subcontrollers/curso/ejercicio/instancia/__init__.py @@ -60,7 +60,7 @@ class InstanciaForm(W.TableForm): inicio = W.CalendarDateTimePicker(label=_(u"Inicio")) fin = W.CalendarDateTimePicker(label=_(u"Fin")) activo = W.CheckBox(label=_(u"Activo?"), attrs=dict(checked='checked')) - observaciones = W.TextArea(rows="5", cols="40", if_empty=u'') + observaciones = W.TextArea(rows="5", cols="40", validator=V.UnicodeString(if_empty=u'')) fields = Fields() javascript = [W.JSSource("MochiKit.DOM.focusOnLoad('form_numero');")] -- 2.43.0