Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6057

Need to upgrade the lib/overlib.js library to the latest version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 1.6
    • Libraries
    • None
    • All
    • MOODLE_16_STABLE

      In the cloze/embedded/multianswer question type in Quiz, feedback is shown upon mouse-hovering over the student's answers.

      This popup window is triggered by the liboverlib.js library.

      A display bug occurs in MSIE (not in Firefox) if that popup window happens to be displayed OVER another sub-question in the cloze question, i.e. over a form (drop-down box, etc.).

      The creator of overlib.js offers a plug-in library to solve this bug. Tried and tested (see enclosed screen dump).

      May I suggest that from now on Moodle stable distributions should include the following modifications.

      1- add liboverlibmws_iframe.js (download complete archive from http://www.macridesweb.com/oltest/overlibmws.zip)

      2- in libjavascript.php, towards line 20, add:

      <script language=JavaScript type=text/javascript src=<?php echo $CFG->httpswwwroot ?>/lib/overlibmws_iframe.js></script>

      NOTE.- The liboverlib.js library presently distributed with Moodle was last revised January 12, 2005. A newer revision dated June 30, 2006 is available from http://www.macridesweb.com/oltest/overlibmws.zip, under a different name: overlibmws.js.

      I recommend that this newer version be distributed with Moodle (under the name of overlib.js so as not to entail further modification of libjavascript.php).

      Joseph

            dougiamas Martin Dougiamas
            rezeau Joseph Rézeau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.