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

After Ajax course loading, icons are default (not themed)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1, 1.8
    • Component/s: JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      When going to "Edit mode" in course view, icons (like hide, delete, group) are not themed.
      In example, the image "pix/t/hide.gif" is not taken from theme directory, but from moodle root.

      I think the problem is in the "init_buttons" function of file /lib/ajax/section_classes.js, where the $CFG->pixpath variabile is not passed.

      I'm attaching a screenshot of the problem.

        Attachments

          Activity

            People

            Assignee:
            vyshane Vy-Shane Sin Fat
            Reporter:
            thepisu Stefano Bagnatica
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/Jan/07