[BUGFIX] Stop spinner in Language module when download all is finished 38/44538/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 4 Nov 2015 18:16:31 +0000 (19:16 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 4 Nov 2015 22:28:15 +0000 (23:28 +0100)
Add missing updateButtonStatus call.

Resolves: #71297
Releases: master
Change-Id: I1fb95f5b679a0d7714af6371a243e76a6bdcde01
Reviewed-on: https://review.typo3.org/44538
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/lang/Resources/Public/JavaScript/LanguageModule.js

index 981c3de..220f218 100644 (file)
@@ -197,6 +197,7 @@ define(['jquery', 'moment', 'TYPO3/CMS/Backend/Icons', 'datatables', 'TYPO3/CMS/
                        } else if (status === 'error') {
                                LanguageModule.displayError(LanguageModule.labels.errorOccurred);
                        } else if (status === 'finished') {
+                               LanguageModule.updateButtonStatus('cancel');
                                LanguageModule.displaySuccess(LanguageModule.labels.updateComplete);
                                LanguageModule.topMenu.removeClass(LanguageModule.classes.processing);
                        }