[BUGFIX] Load icons for localization wizard properly 67/45667/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 31 Dec 2015 17:49:12 +0000 (18:49 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 7 Jan 2016 21:52:34 +0000 (22:52 +0100)
commitcd367f5fe75c501ca4cf73e264e011e56e7789a5
tree25dfccb2dbde85532d90f14657e920a46fb4108e
parent988c614001372091dddc9ab1d82f691eb4c0b4ef
[BUGFIX] Load icons for localization wizard properly

Due to the current API implementation multiple icons can't be loaded
in a single $.when() call. This causes issues after the icons are cached
as the return value of the promise changes.

The icons are fetched one by one in nested calls to workaround the issue.

Change-Id: Ifdd6622e5f4cd020dcb3a5ae76eaf0321942b936
Resolves: #72489
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45667
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Resources/Public/JavaScript/Localization.js