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

Remove default title from navigation items

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Open a course page
      • Inspect a navigation item
        • Confirm that anchor does not have a title attribute
      • Edit /course/renderer.php
        • find function add_modchoosertoggle()
        • after the modchoosertoggle has been defined add:

          $modchoosertoggle->title = 'MDL-37574'
          

      • refresh the course page
      • turn on editing mode
      • inspect the 'Activity chooser on/off' toggle in the Settings block
        • *confirm that the anchor has a title of 'MDL-37574'
      Show
      Open a course page Inspect a navigation item Confirm that anchor does not have a title attribute Edit /course/renderer.php find function add_modchoosertoggle() after the modchoosertoggle has been defined add: $modchoosertoggle->title = 'MDL-37574' refresh the course page turn on editing mode inspect the 'Activity chooser on/off' toggle in the Settings block *confirm that the anchor has a title of ' MDL-37574 '
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:

      Description

      Clicking on activity chooser change text from "Activity chooser on" to "Activity chooser off" but Title and alt-text remains "Activity chooser on"

      Steps to reproduce:

      1. Login as admin
      2. Turn enableajax on (Home ► Site administration ► Appearance ► AJAX and Javascript)
      3. Select a course and turn editing on
      4. Click on Activity chooser, you will see text changing but title and alt-text remain same.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Mar/13