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

Group selector does not work without JavaScript in some modules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.9.8
    • Component/s: Accessibility
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Reported modules are:

      forum
      chat
      database

      (plus in contrib, forumng)

      The problem is that these modules use relative paths for the group selector. This does not work if JavaScript is not used. There are two possible fixes:

      a) Change the script to use referer and apply relative paths
      b) Change all the modules to use absolute paths

      I prefer option (b) because referer information is not guaranteed to be reliable (and if we are in odd case with non-JS then maybe we are in odd case with referer). As an addition, I also think that the function should give a developer debug warning if a relative URL is passed.

        Attachments

          Activity

            People

            • Assignee:
              quen Sam Marshall
              Reporter:
              quen Sam Marshall
              Tester:
              Andrew Davis
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Mar/10