Bug #68880

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

Added by Manuel Selbach over 5 years ago. Updated over 3 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);
    },
#1

Updated by Anja Leichsenring over 5 years ago

  • Sprint Focus changed from On Location Sprint to Remote Sprint
#2

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42489

#3

Updated by Daniel Goerz over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#4

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF