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

Main Menu block non-js dropdowns are deprecated error

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • Hide
      1. Log in as admin
      2. Create a course
      3. Navigate to site home
      4. Turn editing on
      5. Add the Main menu block, configuring as such:
        • Page contexts: Display throughout the entire site
      6. Navigate to course
      7. Confirm the absence of any debugging stating "non-js dropdowns are deprecated"
      8. Confirm the Main menu block does not contain separate Add a resource / Add an activity dropdowns
      9. Confirm the Main menu block contains an Add an activity or resource link that when clicked opens the activity chooser dialogue
      Show
      Log in as admin Create a course Navigate to site home Turn editing on Add the Main menu block, configuring as such: Page contexts: Display throughout the entire site Navigate to course Confirm the absence of any debugging stating "non-js dropdowns are deprecated" Confirm the Main menu block does not contain separate Add a resource / Add an activity dropdowns Confirm the Main menu block contains an Add an activity or resource link that when clicked opens the activity chooser dialogue

      As reported by alrachels in a forum discussion Main Menu block non-js dropdowns are deprecated:

      On the QA Testing site logged in as administrator on the front page with debug on, add a Main Menu block. Configure the block to display throughout the entire site. Go to a course such as Marvelous Media Players. You will see a debug message:

      non-js dropdowns are deprecated.

          line 339 of /course/renderer.php: call to debugging()
          line 287 of /course/renderer.php: call to core_course_renderer->course_section_add_cm_control_nonajax()
          line 157 of /blocks/site_main_menu/block_site_main_menu.php: call to core_course_renderer->course_section_add_cm_control()
          line 766 of /blocks/moodleblock.class.php: call to block_site_main_menu->get_content()
          line 235 of /blocks/moodleblock.class.php: call to block_list->formatted_contents()
          line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
          line 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
          line 374 of /lib/blocklib.php: call to block_manager->ensure_content_created()
          line 3980 of /lib/outputrenderers.php: call to block_manager->region_has_content()
          line 40 of /theme/boost/layout/columns2.php: call to core_renderer->blocks()
          line 1396 of /lib/outputrenderers.php: call to include()
          line 1326 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
          line 245 of /course/view.php: call to core_renderer->header()

        1. MDL-71682.jpg
          40 kB
          Anna Carissa Sadia

            pholden Paul Holden
            tsala Helen Foster
            Peter Dias Peter Dias
            Adrian Greeve Adrian Greeve
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 6 minutes
                2h 6m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.