Project

General

Profile

« Previous | Next » 

Revision d3ddfac0

Added by Tomer Brisker about 3 years ago

Fixes #32153 - Hide tooltip on multiselect all buttons

The tooltips remain shown on click because the elemnt they are attached
to is a `a` tag, which remains in focus until the user clicks elsewhere
so there is no `focusout` event fired.
For the deselect all button, the click handler calls
`multiSelect('refresh')` which in turn removes the multiselect element
(with the tooltip event handlers) from the DOM1, leaving the tooltip
always displayed.
Since we only use tooltips for hover help, the `focus` trigger has been
removed. Popovers should be used when showing information that is
displayed on focus (i.e. when clicking on an element).

[1] https://github.com/lou/multi-select/blob/0.9.12/js/jquery.multi-select.js#L335

  • added
  • modified
  • copied
  • renamed
  • deleted