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

No longer possible to specify container for tooltips in 3.8

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Download attached file testtooltip.php and place it in the wwwroot and then open it in the browser
      2. Hover the first line and second line and make sure that tooltips have different styles
      3. Inspect the html and make sure that tooltip element is added to the ".mycontainer" element and to the body respectively
      Show
      Download attached file testtooltip.php and place it in the wwwroot and then open it in the browser Hover the first line and second line and make sure that tooltips have different styles Inspect the html and make sure that tooltip element is added to the ".mycontainer" element and to the body respectively
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
      MDL-67342-master

      Description

      The container for tooltips is hardcoded to be 'body' and it is no longer possible to specify data-container attribute for the elements with tooltips.

      Specifying container 'body' is not necessary because it is already assumed to be body, see
      https://github.com/moodle/moodle/blob/master/theme/boost/amd/src/tooltip.js#L535-L537

        Attachments

          Activity

            People

            Assignee:
            marina Marina Glancy
            Reporter:
            marina Marina Glancy
            Peer reviewer:
            Daniel Neis Araujo
            Integrator:
            Sara Arjona (@sarjona)
            Tester:
            Gladys Basiana
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jan/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 40 minutes
                1h 40m