MDL-7861 Strict XHTML 1.0 - popup_form() fixes (added div and $formname parameter changed to $formid) - fixed typo :-(

This commit is contained in:
skodak
2007-01-03 22:54:54 +00:00
parent 4e73e3eab6
commit c94eac4a4e
+1 -1
View File
@@ -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";