]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8690 popup form now uses div instead of invisible fieldset; merged from MOODLE_18...
authorskodak <skodak>
Mon, 5 Mar 2007 21:42:49 +0000 (21:42 +0000)
committerskodak <skodak>
Mon, 5 Mar 2007 21:42:49 +0000 (21:42 +0000)
lib/weblib.php
theme/standard/styles_layout.css

index 78c575dccd0a8c61cc77cea9ee10002446a8ae02..589737da008fb6327e580ac75a5d86e3ec929d35 100644 (file)
@@ -944,7 +944,7 @@ function popup_form($common, $options, $formid, $selected='', $nothing='choose',
         $selectlabel = '<label for="'.$formid.'_jump">'.$selectlabel.'</label>';
     }
 
-    $output .= '<fieldset class="invisiblefieldset">'.$selectlabel.$button.'<select id="'.$formid.'_jump" name="jump" onchange="'.$targetwindow.'.location=document.getElementById(\''.$formid.'\').jump.options[document.getElementById(\''.$formid.'\').jump.selectedIndex].value;">'."\n";
+    $output .= '<div>'.$selectlabel.$button.'<select id="'.$formid.'_jump" 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";
@@ -1024,7 +1024,7 @@ function popup_form($common, $options, $formid, $selected='', $nothing='choose',
                "\n//<![CDATA[\n".
                'document.getElementById("noscript'.$formid.'").style.display = "none";'.
                "\n//]]>\n".'</script>';
-    $output .= '</fieldset>';
+    $output .= '</div>';
     $output .= '</form>';
 
     if ($return) {
@@ -5775,4 +5775,4 @@ function frametarget() {
 }
 
 // vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140:
-?>
\ No newline at end of file
+?>
index f426a4d2c35f5cde3e1efe564937a55deace9f1d..36f95f9d791bb377d0e8248df43d5da437c1cc3e 100644 (file)
@@ -341,8 +341,9 @@ img.emoticon {
   height: 15px;
 }
 
-form.popupform {
-  display: inline;
+form.popupform,
+form.popupform div {
+    display: inline;
 }
 
 form.popupform label {