[BUGFIX] Show RecordList tooltip only on hover 59/43559/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 25 Sep 2015 07:47:41 +0000 (09:47 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 25 Sep 2015 08:29:34 +0000 (10:29 +0200)
The default trigger action defined by Bootstrap is "hover focus",
which keeps the tooltip active when the button is focused,
e.g when that button opens a popup on click.

Switch the trigger behavior to "hover" to hide the tooltip after clicking
a button.

Resolves: #69793
Releases: master
Change-Id: I7a4b4c909d47a50c4c884602c8f39cdfe7f54317
Reviewed-on: http://review.typo3.org/43559
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>

index e63e127..96c63ee 100644 (file)
@@ -20,6 +20,7 @@ define('TYPO3/CMS/Recordlist/Tooltip', ['jquery', 'TYPO3/CMS/Backend/Tooltip'],
                        show: 500,
                        hide: 100
+               trigger: 'hover',
                container: 'body'