#68880Save, save & view, save & close not working in RTE Wizard
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);
},