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

Activity chooser generates a javascript crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.3
    • JavaScript
    • None
    • MOODLE_23_STABLE

      When trying to add an activity in the latest Moodle 2.3 integration I see a JS crash in the JS console regarding the modchooser

      Uncaught TypeError: Cannot call method 'one' of null 
      course/yui/modchooser/modchooser.js Line 31: this.jumplink = this.container.one('#jump');

      The problem seems to be caused by MDL-36023, which changes the way to initiate the module; this.container is filled in moodle-core-chooserdialogue->prepare_chooser while moodle-course-modchooser is trying to use it in it's initializer.

            dobedobedoh Andrew Lyons
            dmonllao David Monllaó
            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.