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

Impossible to add resource/activities when JS turned off

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.2
    • 2.3.3
    • Course
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-36092-master
    • 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

    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.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              fred Frédéric Massart
              Frédéric Massart Frédéric Massart
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12