Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !5768

tooltip('toggle') fixed, also added container option for where the tooltip gets placed

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/Yohn/2.2.2-wip into 2.2.2-wip Nov 02, 2012
  • Overview 0
  • Commits 7
  • Pipelines 0
  • Changes 2

Created by: Yohn

This is an old pull request

Both of these bugs have been fixed in 2.3.0

please refer to the following requests-- #6321 to fix the insert strategy and use a container option #6176 fixes the tooltip('toggle') feature which is currently broken.


refer to #5753 (closed)

.tooltip('toggle') and .popover('toggle') was broken, so heres the fix

took me forever to get this request to send right, but I think I got it this time

thanks to @demike for helping correct the problem

Also, within the pull request is an alternate way of doing the insertAfter or appendTo options noted within #5830 to fix the problems within #5687 (closed)

I found out after I changed my -wip branch that it updates this pull requests with my changes, thats why they're in the same pull

How to use the new container option.. you can use html5 elements -- data-container="body" or with javascript - $().tooltip({ container: 'body' }) and the container value, can be any element on the page, and for tooltips within modals I've been using container: '.modal' or '.modal-body'

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Yohn/2.2.2-wip