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

A typo prevents to correctly impose the focus

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.5, 2.3.2, 2.4
    • Fix Version/s: STABLE backlog
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide
      1. (Opt) Create an empty course
      2. Add a new SCORM/AICC activity using the attached SCORM 1.2 package, MDL-35840.zip
      3. Launch the Activity: at the very first attempt item "1.1" will be selected and highlighted
      4. Move the focus on another already opened program windows (e.g.: in Windows, ALT+TAB) and get back: the current item must be highlighted
      5. (Opt) Navigate other items changing the focus back and forth
        Note: you can click on other components of the SCORM activity, e.g. the content: to get the focus back you need to click within the scorm_toc component area.

      General note: module.js is injected into the window by the Moodle framework. Such an injection is not linked to the $version coming from version.php so it is always required to clean first your browser cache to be sure that you'll run the current (new) version of that file.

      Show
      (Opt) Create an empty course Add a new SCORM/AICC activity using the attached SCORM 1.2 package, MDL-35840 .zip Launch the Activity: at the very first attempt item "1.1" will be selected and highlighted Move the focus on another already opened program windows (e.g.: in Windows, ALT+TAB) and get back: the current item must be highlighted (Opt) Navigate other items changing the focus back and forth Note: you can click on other components of the SCORM activity, e.g. the content: to get the focus back you need to click within the scorm_toc component area. General note: module.js is injected into the window by the Moodle framework. Such an injection is not linked to the $version coming from version.php so it is always required to clean first your browser cache to be sure that you'll run the current (new) version of that file.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m24_MDL-35840_SCORM_TOC_focus_fix

      Description

      mod/scorm/module.js: left.expanded should be left.expand.
      Besides if the user moves away from the browser instance and then get back, the focus on the TOC item is lost.

      Found on working for MDL-33106.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: