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

Impossible to add resource/activities when JS turned off

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.3
    • Component/s: Course
    • Testing Instructions:
      Hide
      • [-] Open a course
      • [-] Turn editing mode on
      • [-] Disable the Activity chooser from the 'Course settings' menu in the 'Settings' block
      • [ ] Confirm that the 'Add an activity or resource' link is not shown and that the dropdown pickers are shown
      • [-] Disable JavaScript in your browser and refresh the page
      • [ ] Confirm that the 'Add an activity or resource' link is not shown and that the dropdown pickers are shown
      • [-] Re-enable JavaScript in your browser and refresh the page
      • [-] Re-enable the Activity chooser
      • [ ] Confirm that the 'Add an activity or resource' link is shown
      • [-] Disable JavaScript in your browser and refresh the page
      • [ ] Confirm that the 'Add an activity or resource' link is not shown and that the dropdown pickers are shown
      • [-] Re-enable JavaScript in your browser and refresh the page
      • [ ] Confirm that the 'Add an activity or resource' link is shown
      Show
      [-] Open a course [-] Turn editing mode on [-] Disable the Activity chooser from the 'Course settings' menu in the 'Settings' block [ ] Confirm that the 'Add an activity or resource' link is not shown and that the dropdown pickers are shown [-] Disable JavaScript in your browser and refresh the page [ ] Confirm that the 'Add an activity or resource' link is not shown and that the dropdown pickers are shown [-] Re-enable JavaScript in your browser and refresh the page [-] Re-enable the Activity chooser [ ] Confirm that the 'Add an activity or resource' link is shown [-] Disable JavaScript in your browser and refresh the page [ ] Confirm that the 'Add an activity or resource' link is not shown and that the dropdown pickers are shown [-] Re-enable JavaScript in your browser and refresh the page [ ] Confirm that the 'Add an activity or resource' link is shown
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-36092-master

      Description

      When the activity chooser is disabled and then Javascript is disabled, then the dropdown menus to add activities/resources to a course are not displayed.

      See Marina's comment on MDL-35339: http://tracker.moodle.org/browse/MDL-35339?focusedCommentId=183784&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-183784

      Replication steps:

      1. Log in as teacher/admin
      2. Navigate to a course
      3. In the Settings block under Course admin, click "Activity Chooser off"
      4. Disable JS in your browser
      5. Refresh the page

      Expected result: The "Add a resource..." and "Add an activity..." drop-down lists should appear

      Actual results: The link to the Activity chooser appears, but is inactive.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Nov/12