Project

General

Profile

Bug #76935 ยป SingleFieldContainer.php.patch

Robert Heinig, 2016-07-05 10:12

View differences:

// JavaScript code for event handlers:
$parameterArray['fieldChangeFunc'] = array();
$parameterArray['fieldChangeFunc']['TBE_EDITOR_fieldChanged'] = 'TBE_EDITOR.fieldChanged(' . GeneralUtility::quoteJSvalue($table) . ',' . GeneralUtility::quoteJSvalue($row['uid']) . ',' . GeneralUtility::quoteJSvalue($fieldName) . ',' . GeneralUtility::quoteJSvalue($parameterArray['itemFormElName']) . ');';
$parameterArray['fieldChangeFunc']['alert'] = $alertMsgOnChange;
if (!empty($alertMsgOnChange)) {
$parameterArray['fieldChangeFunc']['alert'] = $alertMsgOnChange;
}
// If this is the child of an inline type and it is the field creating the label
if ($this->isInlineChildAndLabelField($table, $fieldName)) {
    (1-1/1)