[Jifty-commit] r1057 - in jifty/trunk: lib/Jifty/Web/Form/Field

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon May 15 08:28:23 EDT 2006


Author: jesse
Date: Mon May 15 08:28:10 2006
New Revision: 1057

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web/Form/Field/Password.pm

Log:
 r13791 at hualien:  jesse | 2006-05-15 08:26:05 -0400
  The third attachment is for the Password widget which has already
  a render_value method but which returns '-' only, without rendering any HTML.
   The patch modify this behaviour by rendering the instead of returning it.
   - Frederic Blanc


Modified: jifty/trunk/lib/Jifty/Web/Form/Field/Password.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field/Password.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field/Password.pm	Mon May 15 08:28:10 2006
@@ -40,7 +40,8 @@
 
 
 sub render_value {
-    return '-';
+    Jifty->web->out('-');
+    return '';
 }
 
 =head2 classes


More information about the Jifty-commit mailing list