Skip to content

Commit

Permalink
MDL-7861 Strict XHTML 1.0 - popup_form() fixes (added div and $formna…
Browse files Browse the repository at this point in the history
…me parameter changed to $formid) - fixed typo :-(
  • Loading branch information
skodak committed Jan 3, 2007
1 parent 4e73e3e commit c94eac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weblib.php
Expand Up @@ -964,7 +964,7 @@ function popup_form($common, $options, $formid, $selected='', $nothing='choose',
' id="'.$formid.'"'.
' class="popupform">';

$output = '<div><select name="jump" onchange="'.$targetwindow.'.location=document.getElementById(\''.$formid.'\').jump.options[document.getElementById(\''.$form.'\').jump.selectedIndex].value;">'."\n";
$output = '<div><select name="jump" onchange="'.$targetwindow.'.location=document.getElementById(\''.$formid.'\').jump.options[document.getElementById(\''.$formid.'\').jump.selectedIndex].value;">'."\n";

if ($nothing != '') {
$output .= " <option value=\"javascript:void(0)\">$nothing</option>\n";
Expand Down

0 comments on commit c94eac4

Please sign in to comment.