[Jifty-commit] r2320 - in jifty/trunk: lib/Jifty/Web/Form
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Dec 4 12:27:32 EST 2006
Author: jesse
Date: Mon Dec 4 12:27:24 2006
New Revision: 2320
Modified:
jifty/trunk/ (props changed)
jifty/trunk/META.yml
jifty/trunk/lib/Jifty/Web/Form/Field.pm
Log:
r45800 at pinglin: jesse | 2006-12-04 12:26:45 -0500
* The new maxlenght support had unbalanced quotes causing generated html to not validate
Modified: jifty/trunk/META.yml
==============================================================================
--- jifty/trunk/META.yml (original)
+++ jifty/trunk/META.yml Mon Dec 4 12:27:24 2006
@@ -25,6 +25,8 @@
Test::Base: 0.44
Test::HTML::Lint: 0
Test::HTTP::Server::Simple: 0.02
+ Test::MockModule: 0.05
+ Test::MockObject: 1.07
Test::More: 0.62
Test::Pod::Coverage: 0
Test::WWW::Mechanize: 1.04
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 Mon Dec 4 12:27:24 2006
@@ -462,7 +462,7 @@
$field .= qq! id="@{[ $self->element_id ]}"!;
$field .= qq! value="@{[HTML::Entities::encode_entities($self->current_value)]}"! if defined $self->current_value;
$field .= $self->_widget_class;
- $field .= qq! size="@{[ $self->length() ]}" maxlength=@{[ $self->length() ]}"! if ($self->length());
+ $field .= qq! size="@{[ $self->length() ]}" maxlength="@{[ $self->length() ]}"! if ($self->length());
$field .= " " .$self->other_widget_properties;
$field .= qq! />\n!;
Jifty->web->out($field);
More information about the Jifty-commit
mailing list