Committer: vtroitsky
LJSUP-9359 Question attribute renamed (fixed) to maxlengthU trunk/cgi-bin/LJ/Poll/Question.pm
Modified: trunk/cgi-bin/LJ/Poll/Question.pm =================================================================== --- trunk/cgi-bin/LJ/Poll/Question.pm 2011-08-09 07:33:04 UTC (rev 19657) +++ trunk/cgi-bin/LJ/Poll/Question.pm 2011-08-09 07:48:27 UTC (rev 19658) @@ -245,7 +245,7 @@ my $opts = $self->opts; if ($self->type eq 'text') { my ($size,$max) = split(m!/!, $opts); - $attrs .= ' size="'.$size.'" max="'.$max.'"'; + $attrs .= ' size="'.$size.'" maxlength="'.$max.'"'; } elsif ($self->type eq 'scale') { my ($from, $to, $by) = split(m!/!, $opts); $by ||= 1;