quote around options in Add page

Bug #352368 reported by Xavier Brochard
2
Affects Status Importance Assigned to Milestone
Woda
Fix Released
Medium
Malcolm Fitzgerald
4.610
Fix Released
Medium
Malcolm Fitzgerald

Bug Description

There is quotes around checkbox and values or radio and values in OPTION fields.
May be a typo in Malcolm version.

affect cgiAdd
Woda from mf branch, perl 5.10

Related branches

Xavier Brochard (xavier)
Changed in woda:
importance: Undecided → Medium
milestone: none → merge-mf-and-xavier
Revision history for this message
Malcolm Fitzgerald (malcolm-notyourhomework) wrote :

look at wbFormFieldItems for this code:

    if ($default =~ /\n$reo\n/ ) {
     push (@x,qq(<input type="CHECKBOX" name="$field" value="$o" CHECKED $onClick>$t\n"));
    } else {
     push (@x,qq(<input type="CHECKBOX" name="$field" value="$o" $onClick>$t\n"));
    }
should be

    if ($default =~ /\n$reo\n/ ) {
     push (@x,qq(<input type="CHECKBOX" name="$field" value="$o" CHECKED $onClick>$t\n));
    } else {
     push (@x,qq(<input type="CHECKBOX" name="$field" value="$o" $onClick>$t\n));
    }

Xavier Brochard (xavier)
Changed in woda:
status: New → Fix Released
assignee: nobody → malcolm-notyourhomework
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.