Project

General

Profile

Actions

Bug #65879

closed

JavaScript object TYPO3.lang broken

Added by Frank Nägler about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2015-03-20
Due date:
% Done:

100%

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

Description

In several place within the backend the JavaScript object TYPO3.lang is used like this:

var foo = TYPO3.lang['button.cancel'];

The variable foo should contain a string. At the moment the variable contains an array with one object: [{"source":"Cancel","target":"Cancel"}]

The result is broken labels in several places like Recycler (button labels) or the Delete-Record-Modal in ListModule.

I have added some screenshot.


Files

Reycler.png (67.6 KB) Reycler.png Frank Nägler, 2015-03-20 22:46
Modal-Buttons.png (34 KB) Modal-Buttons.png Frank Nägler, 2015-03-20 22:46
Actions

Also available in: Atom PDF