]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861 I have noticed that the last change in weblib.php http://moodle.cvs.sourcefo...
authorskodak <skodak>
Tue, 2 Jan 2007 10:00:38 +0000 (10:00 +0000)
committerskodak <skodak>
Tue, 2 Jan 2007 10:00:38 +0000 (10:00 +0000)
lib/weblib.php

index 772f20b1f8d7c34c77a1c5363f78b5bb84737d87..120d5898237091e8437dd141a4730e14e7f806ae 100644 (file)
@@ -956,10 +956,10 @@ function popup_form($common, $options, $formname, $selected='', $nothing='choose
                         ' method="get"'.
                         ' target="'.$CFG->framename.'"'.
                         ' name="'.$formname.'"'.
-                        ' id="id_'.$formname.'"'.
+                        ' id="'.$formname.'"'.
                         ' class="popupform">';
 
-    $output = '<select name="jump" onchange="'.$targetwindow.'.location=document.getElementById(\'id_'.$formname.'\').jump.options[document.getElementById(\'id_'.$formname.'\').jump.selectedIndex].value;">'."\n";
+    $output = '<select name="jump" onchange="'.$targetwindow.'.location=document.getElementById(\''.$formname.'\').jump.options[document.getElementById(\''.$formname.'\').jump.selectedIndex].value;">'."\n";
 
     if ($nothing != '') {
         $output .= "   <option value=\"javascript:void(0)\">$nothing</option>\n";