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 #1

Updated by Anja Leichsenring over 8 years ago

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

Updated by Gerrit Code Review over 8 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

Actions #3

Updated by Daniel Goerz over 8 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF