Project

General

Profile

Actions

Bug #68880

closed

Save, save & view, save & close not working in RTE Wizard

Added by Manuel Selbach over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-08-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Remote Sprint

Description

The button Save, save & view and save & close donĀ“t work in the RTE wizard (Fullscreen Rich Text Editing).

JavaScript error appears:

Uncaught TypeError: document.getElementsByName(...).submit is not a function

submitForm: function() {
        if (TBE_EDITOR.doSaveFieldName) {
            document[TBE_EDITOR.formname][TBE_EDITOR.doSaveFieldName].value=1;
        }
        // Set a short timeout to allow other JS processes to complete, in particular those from
        // EXT:backend/Resources/Public/JavaScript/FormEngine.js (reference: http://forge.typo3.org/issues/58755).
        // TODO: This should be solved in a better way when this script is refactored.
        window.setTimeout(function() {
            document.getElementsByName(TBE_EDITOR.formname).submit();  <----------------- here the error appears
        }, 10);
    },
Actions

Also available in: Atom PDF