Moodle

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.6
  • Fix Version/s: None
  • Component/s: Libraries
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_16_STABLE

Description

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

Activity

Hide
Martin Dougiamas added a comment -

From Tim Hunt (T.J.Hunt at open.ac.uk) Friday, 21 July 2006, 02:20 PM:

Reassigning to Martin, since upgrading one of the third party libraries is probably his sort of thing, and I think that is the best way to fix this.

From Joseph R?zeau (joseph.rezeau at uhb.fr) Saturday, 12 August 2006, 11:52 PM:

Martin,

Could you look into this and accept to update to the more recent liboverlib.js for Moodle 1.7 ?

Thanks

Joseph

Show
Martin Dougiamas added a comment - From Tim Hunt (T.J.Hunt at open.ac.uk) Friday, 21 July 2006, 02:20 PM: Reassigning to Martin, since upgrading one of the third party libraries is probably his sort of thing, and I think that is the best way to fix this. From Joseph R?zeau (joseph.rezeau at uhb.fr) Saturday, 12 August 2006, 11:52 PM: Martin, Could you look into this and accept to update to the more recent liboverlib.js for Moodle 1.7 ? Thanks Joseph
Hide
Tim Hunt added a comment -

No don't assign it to me. Look at the comment I added Friday, 21 July 2006, 02:20 PM.

Unless you think the bug should now be changed to say "Convert cloze question type to use the new YUI library".

Show
Tim Hunt added a comment - No don't assign it to me. Look at the comment I added Friday, 21 July 2006, 02:20 PM. Unless you think the bug should now be changed to say "Convert cloze question type to use the new YUI library".
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: