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

404 for i/ajaxloader image - wrong variable order in function call

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.6, 2.1.3
    • 2.0.5, 2.1.2, 2.2
    • Groups
    • None
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • w43_MDL-29966_m22_grouploading
    • Hide

      1/ go to groups page
      2/ click on group in left column
      3/ there should be a spinning thing above the right column with users (you may have to slow somehow your browser, I hacked in one js alert to make it pause a bit when testing it)

      Show
      1/ go to groups page 2/ click on group in left column 3/ there should be a spinning thing above the right column with users (you may have to slow somehow your browser, I hacked in one js alert to make it pause a bit when testing it)

      In /group/clientlib.js, line 186
      replace
      loadingImg.setAttribute("src", M.util.image_url('moodle', '/i/ajaxloader'));
      with
      loadingImg.setAttribute("src", M.util.image_url('/i/ajaxloader', 'moodle'));

      Variables are supplied to the function in wrong order, the result is that the image isn't found (404 in apache log)

            skodak Petr Skoda
            abias Alexander Bias
            Aparup Banerjee Aparup Banerjee
            Ankit Agarwal Ankit Agarwal
            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.