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

JavaScript included twice in the backup UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.5, 2.3.2
    • 2.2.4, 2.3.1
    • Backup
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      1. Go to a course.

      2. Click Backup, then Next.

      3. Inspect the page using Firebug, and look in the last <script> tag in the HTML.

      4. Verify that there is only one call to M.core_backup.watch_cancel_buttons

      Show
      1. Go to a course. 2. Click Backup, then Next. 3. Inspect the page using Firebug, and look in the last <script> tag in the HTML. 4. Verify that there is only one call to M.core_backup.watch_cancel_buttons

      This is despite the fact that there is a require_definition_after_data method that tries to prevent this.

      The problems is that some parts of formslib (e.g. get_data) call definition_after_data directly.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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