+2009-02-18 Stanislas Rolland <typo3@sjbr.ca>
+
+ * Fixed bug #10479: htmlArea RTE: JS error is raised when using the delete icon on a flexform
+
2009-02-18 Oliver Hader <oliver@typo3.org>
* Fixed bug #10452: Evaluation PATH_INFO in tslib_fe::checkAlternativeIdMethods() sets false positives and should be moved to tx_simulatestatic
2009-02-18 Oliver Hader <oliver@typo3.org>
* Fixed bug #10452: Evaluation PATH_INFO in tslib_fe::checkAlternativeIdMethods() sets false positives and should be moved to tx_simulatestatic
+2009-02-18 Stanislas Rolland <typo3@sjbr.ca>
+
+ * Fixed bug #10479: htmlArea RTE: JS error is raised when using the delete icon on a flexform
+
2009-02-12 Stanislas Rolland <typo3@sjbr.ca>
* Added feature #10428: htmlArea RTE: Remove configuration variables related to Mozilla clipboard access
2009-02-12 Stanislas Rolland <typo3@sjbr.ca>
* Added feature #10428: htmlArea RTE: Remove configuration variables related to Mozilla clipboard access
* @return string Javascript code
*/
function setSaveRTE($RTEcounter, $formName, $textareaId) {
* @return string Javascript code
*/
function setSaveRTE($RTEcounter, $formName, $textareaId) {
- return 'if (RTEarea[\'' . $textareaId . '\']) { document.' . $formName . '[\'' . $textareaId . '\'].value = RTEarea[\'' . $textareaId . '\'][\'editor\'].getHTML(); } else { OK = 0; };';
+ return 'if (RTEarea["' . $textareaId . '"]) { document.' . $formName . '["' . $textareaId . '"].value = RTEarea["' . $textareaId . '"].editor.getPluginInstance("EditorMode").getHTML(); } else { OK = 0; };';
* @return string Javascript code
*/
function setDeleteRTE($RTEcounter, $formName, $textareaId) {
* @return string Javascript code
*/
function setDeleteRTE($RTEcounter, $formName, $textareaId) {
- return 'if (RTEarea[\'' . $textareaId . '\']) { RTEarea[\'' . $textareaId . '\'].deleted = true;}';
+ return 'if (RTEarea["' . $textareaId . '"]) { RTEarea["' . $textareaId . '"].deleted = true;}';