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

yui_module lets you specify a null $galleryversion

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.8
    • Fix Version/s: 2.4
    • Component/s: JavaScript
    • Labels:
    • Testing Instructions:
      Hide

      Not really sure how best to test this. I guess just check that things are working as expected. I suggest using a course in editing mode and trying things like:

      • ensure that the activity chooser works
      • ensure that you can drag/drop blocks
      • ensure that you can drag/drop resources
      • ensure that you can drag/drop sections
      • ensure that you can show/hide resources and sections
      • ensure that you can rename a file
      Show
      Not really sure how best to test this. I guess just check that things are working as expected. I suggest using a course in editing mode and trying things like: ensure that the activity chooser works ensure that you can drag/drop blocks ensure that you can drag/drop resources ensure that you can drag/drop sections ensure that you can show/hide resources and sections ensure that you can rename a file
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-36099-master

      Description

      I noticed whilst writing a proof of concept that when calling $PAGE->requires->yui_module(), if you want to set the $ondomready argument, you must specify the $galleryversion. As a result, there are occasions where this is set to null. As a result, we're using a null gallery version rather than a default.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12