Skip to content
Browse files

qtype_multianswer MDL-25841 feedback pop-up was appearing in the wron…

…g place.

It seems that overlib was getting confused by its div being inside another positioned div. The simplest solution is to not create the div at all. Then the overlib JS creates it when needed, and that works.
  • Loading branch information...
1 parent 5a7f931 commit 90c2f510311856ef96b664d3d134c2db357f2390 @timhunt timhunt committed Jan 18, 2011
Showing with 0 additions and 6 deletions.
  1. +0 −6 question/type/multianswer/questiontype.php
View
6 question/type/multianswer/questiontype.php
@@ -278,12 +278,6 @@ function get_html_head_contributions(&$question, &$state) {
function print_question_formulation_and_controls(&$question, &$state, $cmoptions, $options) {
global $QTYPES, $CFG, $USER, $OUTPUT, $PAGE;
- static $overlibdivoutput = false;
- if (!$overlibdivoutput) {
- echo '<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>'; // for overlib
- $overlibdivoutput = true;
- }
-
$readonly = empty($options->readonly) ? '' : 'readonly="readonly"';
$disabled = empty($options->readonly) ? '' : 'disabled="disabled"';
$formatoptions = new stdClass;

0 comments on commit 90c2f51

Please sign in to comment.
Something went wrong with that request. Please try again.