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

Refactor bootstrap 5.x data attributes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 4.1
    • Themes

      Some bootstrap html data attributes have changed syntax causing UI component to stop working. Popovers are an example of these.

      The old syntax on a button with some popover text:

      <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="top" data-content="Top popover">
      Popover on top
      </button>
      

      The new syntax:

      <button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="top" data-bs-content="Top popover">
      Popover on top
      </button>
      

      Find all uses of these popovers and update the html

            Daniel Ziegenberg Daniel Ziegenberg
            basbrands Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            10 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
                1h

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