[BUGFIX] Allow empty values for js language labels 43/46243/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:34 +0000 (13:49 +0100)
commit466e9c4b06756a82545e6bf0ee535f002841f69c
tree3a0259569bd83e0cf3fc29f48402c9ccc09b932e
parentbb88e8f995f768f43555347a862b73d911565849
[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/46243
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/lang/Resources/Public/JavaScript/Lang.js