[BUGFIX] EM: Mask overlay stays active after error message 09/25309/2
authorNicole Cordes <typo3@cordes.co>
Tue, 12 Nov 2013 13:37:01 +0000 (14:37 +0100)
committerSteffen Müller <typo3@t3node.com>
Tue, 12 Nov 2013 17:38:44 +0000 (18:38 +0100)
If you try to install a new extension from TER which is incompatible
with the current TYPO3 version, an error is shown but the loading mask
isn't removed. This patch unmask the overlay to be able to work again.

Resolves: #53460
Releases: 6.2
Change-Id: Ibf9a31de6a8f56715e20ba5b5f2c49e555b16e12
Reviewed-on: https://review.typo3.org/25309
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
typo3/sysext/extensionmanager/Resources/Public/JavaScript/ter.js

index db1a7ef..6b88c69 100644 (file)
@@ -80,6 +80,7 @@
                        });
                } else {
                        if(data.hasErrors) {
+                               $('.typo3-extension-manager').unmask();
                                TYPO3.Flashmessage.display(TYPO3.Severity.error, data.title, data.message, 10);
                        } else {
                                var button = 'yes';