Bug #72875 » patch_RteHtmlAreaBase.php.patch
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;}';
|
||
}
|
||
|
||
/**
|
- « Previous
- 1
- 2
- Next »