[BUGFIX] CSH tooltips in TCEforms lack cursor:pointer
authorSteffen Gebert <steffen.gebert@typo3.org>
Mon, 28 Mar 2011 14:25:18 +0000 (16:25 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Wed, 30 Mar 2011 10:33:56 +0000 (12:33 +0200)
Add a CSS class tipIsLinked to CSH tooltips if there is more information
and thus the tooltip reacts on click to open detailed help.

Change-Id: Iec23ec30d001bd9b71d417ba18d38d07ca0ec09d
Resolves: #25406
Reviewed-on: http://review.typo3.org/1295
Reviewed-by: Steffen Kamper
Tested-by: Steffen Kamper
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/js/extjs/contexthelp.js
typo3/sysext/t3skin/extjs/xtheme-t3skin.css

index 7ae362d..6ff8c8f 100644 (file)
@@ -100,6 +100,9 @@ TYPO3.ContextHelp = function() {
                tip.body.dom.innerHTML = response.description;
                tip.cshLink = response.id;
                tip.moreInfo = response.moreInfo;
+               if (tip.moreInfo) {
+                       tip.addClass('tipIsLinked');
+               }
                tip.setTitle(response.title);
                tip.doAutoWidth();
        }
index 48648bd..51f6326 100644 (file)
@@ -1669,6 +1669,10 @@ td.x-date-mp-sep {
        height: 16px;
 }
 
+.x-tip.tipIsLinked {
+       cursor: pointer;
+}
+
 .x-menu {
        border-color:#898989;
        background-color: #ffffff;