Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Usability
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      35769

      Description

      I'm viewing the list of participants for the site on user/index.php?id=1. The settings block is un-docked. If I click on the "Move to side panel" button, I get an error:

      You are trying to use an invalid course ID: ()

      Stack trace:

      • line 37 of /user/index.php: call to print_error()

      I'm looking in user/index.php now to see if something is missing.

        Activity

        Hide
        Sam Hemelryk added a comment -

        Made a couple of changes the way in which the link that is associated to the move position icon is generated.
        This ensures that should there be a JavaScript error and you get redirected it will still do what it is supposed to and you wont end up at an error page.
        Cheers

        Show
        Sam Hemelryk added a comment - Made a couple of changes the way in which the link that is associated to the move position icon is generated. This ensures that should there be a JavaScript error and you get redirected it will still do what it is supposed to and you wont end up at an error page. Cheers

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: