Skip to content
Snippets Groups Projects
Commit 59398bc2 authored by Elias Villiger's avatar Elias Villiger
Browse files

F6300 - Change disabled link to span; Adjust config baseUrl description

parent 8d6eee6b
No related branches found
No related tags found
1 merge request!74Feature #6300 - Disable preview button for requiredNew forms
Pipeline #846 passed
......@@ -16,7 +16,7 @@ cmdConvert = convert
# cat=config/config; type=string; label=Command 'wkhtmltopdf':Default is '/opt/wkhtmltox/bin/wkhtmltopdf'. Command to convert a HTML page to a PDF.
cmdWkhtmltopdf = /opt/wkhtmltox/bin/wkhtmltopdf
# cat=config/config; type=string; label=Base URL of the current Typo3 installation:Default is empty. Example: https://your.base.url/including/sub/dir. Will be used to convert local pages to PDF. For accessing protected pages, the current FE User session will be faked - therefore the exact URL is needed that cookies become valid.
# cat=config/config; type=string; label=Base URL of the current Typo3 installation:Default is empty. Example: https://localhost/including/sub/dir. Will be used to convert local pages to PDF. For accessing protected pages, the current FE User session will be faked - therefore the exact URL is needed that cookies become valid.
baseUrl =
# cat=config/email; type=string; label=Options for SendEMail:Default is empty. General options. Check: http://caspian.dotconf.net/menu/Software/SendEmail. E.g.: 'sendEMail=-o tls=yes'
......
......@@ -383,8 +383,8 @@ class BuildFormBootstrap extends AbstractBuildForm {
$attribute .= Support::doAttribute('class', "$class $disabled");
$attribute .= Support::doAttribute('title', $toolTip);
// disabled links do not show tooltips
$wrapTag = $disabled == 'disabled' ? 'button' : 'a';
// disabled links do not show tooltips -> use a span
$wrapTag = $disabled == 'disabled' ? 'span' : 'a';
return Support::wrapTag("<$wrapTag $attribute>", $element);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment