[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:18:31 +0000 (12:18 +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: I65c1312761b852f53826db5b477db3c645a9445f
Resolves: #M18051
Reviewed-on: http://review.typo3.org/1292
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;
                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();
        }
                tip.setTitle(response.title);
                tip.doAutoWidth();
        }
index 48648bd..51f6326 100644 (file)
@@ -1669,6 +1669,10 @@ td.x-date-mp-sep {
        height: 16px;
 }
 
        height: 16px;
 }
 
+.x-tip.tipIsLinked {
+       cursor: pointer;
+}
+
 .x-menu {
        border-color:#898989;
        background-color: #ffffff;
 .x-menu {
        border-color:#898989;
        background-color: #ffffff;