Actions
Bug #23604
closedCleanup CSH Code
Start date:
2010-09-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When having a CSH item on your page, TYPO3 generates this link for you to open the popup with detailed information:
<a class="typo3-csh-link" href="#" onclick="vHWin=window.open('view_help.php?tfID=pages.nav_hide','viewFieldHelp','height=400,width=600,status=0,menubar=0,scrollbars=1');vHWin.focus();return false;">
If you have a lot of CSH icons on your page (e.g. TCEforms) this code gets repeated over and over again. I suggest to move the onclick code into a JS function that checks for all anchors with the class" typo3-csh-link" and then opens up the window. This ways we only have anchors like this:
<a class="typo3-csh-link" href="" rel="pages|hidden">
(issue imported from #M15800)
Files
Actions