Commit 0d0814a3 authored by Frank Nägler's avatar Frank Nägler
Browse files

[BUGFIX] 'eval' => 'null' field stays disabled

This is a regression fix, introduced with #75397

Resolves: #77287
Related: #75397
Releases: master, 7.6
Change-Id: I405646aee0acc6a67753c79ae4b3d3c5f8de1bed
Reviewed-on: https://review.typo3.org/49402

Tested-by: default avatarBamboo TYPO3com <info@typo3.com>
Reviewed-by: Mathias Schreiber's avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber's avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Alexander Stehlik's avatarAlexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik's avatarAlexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
parent 27738cdc
......@@ -241,6 +241,11 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex {
filter: alpha(opacity=50);
}
}
// z-index must be higher as .t3-form-field-disable z-index
// this is required for the eval=null field checkbox
.t3-form-field-eval-null-checkbox {
z-index: 9000;
}
.t3-form-palette-field-label {
text-indent: 2px;
}
......
......@@ -226,13 +226,13 @@ class SingleFieldContainer extends AbstractContainer
$nullValueWrap = array();
$nullValueWrap[] = '<div class="' . implode(' ', $fieldItemClasses) . '">';
$nullValueWrap[] = '<div class="t3-form-field-disable"></div>';
$nullValueWrap[] = '<div class="checkbox">';
$nullValueWrap[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
$nullValueWrap[] = '<label>';
$nullValueWrap[] = '<input type="hidden"' . $nullControlNameAttribute . ' value="0" />';
$nullValueWrap[] = '<input type="checkbox"' . $nullControlNameAttribute . ' value="1" onchange="' . $onChange . '"' . $checked . ' /> &nbsp;';
$nullValueWrap[] = '</label>';
$nullValueWrap[] = $html;
$nullValueWrap[] = '</div>';
$nullValueWrap[] = $html;
$nullValueWrap[] = '</div>';
$html = implode(LF, $nullValueWrap);
......
......@@ -10585,6 +10585,9 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex {
opacity: 0.5;
filter: alpha(opacity=50);
}
.t3-form-field-eval-null-checkbox {
z-index: 9000;
}
.t3-form-palette-field-label {
text-indent: 2px;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment