[Jifty-commit] r3045 - jifty/trunk/lib/Jifty/Web/Form

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Mar 22 14:16:42 EDT 2007


Author: clkao
Date: Thu Mar 22 14:16:42 2007
New Revision: 3045

Modified:
   jifty/trunk/lib/Jifty/Web/Form/Field.pm

Log:
The value of field should not be localised.

Modified: jifty/trunk/lib/Jifty/Web/Form/Field.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field.pm	Thu Mar 22 14:16:42 2007
@@ -546,7 +546,7 @@
     my $field = '<span';
     $field .= qq! class="@{[ $self->classes ]}"> !;
     # XXX: force stringify the value because maketext is buggy with overloaded objects.
-    $field .= Jifty->web->escape(_("@{[$self->current_value]}")) if defined $self->current_value;
+    $field .= Jifty->web->escape("@{[$self->current_value]}") if defined $self->current_value;
     $field .= qq!</span>\n!;
     Jifty->web->out($field);
     return '';


More information about the Jifty-commit mailing list