[BUGFIX] Allow empty values for js language labels 41/46241/2
authorThomas Schlumberger <thomas@b13.de>
Tue, 26 Jan 2016 11:52:07 +0000 (12:52 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 26 Jan 2016 12:49:12 +0000 (13:49 +0100)
commit18f959e2984d8c038a92bb384746104dc5dc0368
tree4419666ceceb712c463c0d57f2e2b2f3f63834ff
parent859e477a5d4579f90ab15fdf94efe1c179d7f7ed
[BUGFIX] Allow empty values for js language labels

When a user has a translated backend where not all
labels are translated, Lang.js throws an js exception
for accessing empty values.

The check for empty values therefor must be hardened.

Resolves: #72806
Releases: master, 7.6
Change-Id: I2801076945f6a291fb3b05c0438f18c0d737e8de
Reviewed-on: https://review.typo3.org/46241
Reviewed-by: Daniel Gorges <daniel.gorges@b13.de>
Tested-by: Daniel Gorges <daniel.gorges@b13.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/lang/Resources/Public/JavaScript/Lang.js