Project

General

Profile

Bug #72875 » patch_RteHtmlAreaBase.php.patch

Patch for RteHtmlAreaBase.php - Kay Röseler, 2016-01-21 17:48

View differences:

typo3/sysext/rtehtmlarea/Classes/RteHtmlAreaBase.php.orig 2015-12-21 11:59:28.000000000 +0100
* @todo Define visibility
*/
public function setSaveRTE($RTEcounter, $formName, $textareaId, $textareaName) {
return 'if (RTEarea[' . GeneralUtility::quoteJSvalue($textareaId) . ']) { document.' . $formName . '[' . GeneralUtility::quoteJSvalue($textareaName) . '].value = RTEarea[' . GeneralUtility::quoteJSvalue($textareaId) . '].editor.getHTML(); } else { OK = 0; };';
return 'if (RTEarea["' . GeneralUtility::quoteJSvalue($textareaId) . '"]) { document.' . $formName . '["' . GeneralUtility::quoteJSvalue($textareaName) . '"].value = RTEarea["' . GeneralUtility::quoteJSvalue($textareaId) . '"].editor.getHTML(); } else { OK = 0; };';
}
/**
......
* @todo Define visibility
*/
public function setDeleteRTE($RTEcounter, $formName, $textareaId) {
return 'if (RTEarea[' . GeneralUtility::quoteJSvalue($textareaId) . ']) { RTEarea[' . GeneralUtility::quoteJSvalue($textareaId) . '].deleted = true;}';
return 'if (RTEarea["' . GeneralUtility::quoteJSvalue($textareaId) . '"]) { RTEarea["' . GeneralUtility::quoteJSvalue($textareaId) . '"].deleted = true;}';
}
/**
(2-2/2)