[BUGFIX] getFolderStatus ajax also being called in Step Installer 39/28739/2
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 25 Mar 2014 07:36:28 +0000 (08:36 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 25 Mar 2014 09:57:14 +0000 (10:57 +0100)
Resolves: #57262
Releases: 6.2
Change-Id: I190420ef696de819ebf3f06033ba7e97c639a92c
Reviewed-on: https://review.typo3.org/28739
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Resources/Public/Javascript/Install.js

index 3578f82..94c96af 100644 (file)
@@ -419,9 +419,10 @@ $(document).ready(function() {
                        $(e.target).closest('.t3-install-form-submit').remove();
                }));
        }
-
-       TYPO3.Install.Status.getFolderStatus();
-       TYPO3.Install.Status.getEnvironmentStatus();
+       if ($('#t3-install-left').length > 0) {
+               TYPO3.Install.Status.getFolderStatus();
+               TYPO3.Install.Status.getEnvironmentStatus();
+       }
 });
 
 function handleButtonScrolling() {