[BUGFIX] Restore clear cache menu icon if clearing fatals 66/44766/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 18 Nov 2015 07:55:39 +0000 (08:55 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 18 Nov 2015 16:02:21 +0000 (17:02 +0100)
commit0415bce80d188654446b58efd0d32513e18a92ba
tree5d535d24f972538475cbe4c119a8eda7d1e774f9
parent031c602170dc97f3c992ea289f39b7d36ecae6e5
[BUGFIX] Restore clear cache menu icon if clearing fatals

Currently, the clear cache icon in the top menu only gets restored when
the clearing process was successful. If the call fails for whatever
reason, the spinner is shown until the backend is reloaded.

Change the "success" handler to "complete" to always restore the
original icon.

Resolves: #71630
Releases: master
Change-Id: I6c3758411ebb1802cd95ce09f9e74b3f888f0e59
Reviewed-on: https://review.typo3.org/44766
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Daniel Lorenz <forge@extco.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/Toolbar/ClearCacheMenu.js