sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[livejournal] r19658: LJSUP-9359 Question attribute renamed (f...

Committer: vtroitsky
LJSUP-9359 Question attribute renamed (fixed) to maxlength
U   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;

Tags: livejournal, pm, sunnyman
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments