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

No longer possible to specify container for tooltips in 3.8

XMLWordPrintable

    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-67342-master
    • 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

      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

            marina Marina Glancy
            marina Marina Glancy
            Daniel Neis Araujo Daniel Neis Araujo
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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