[BUGFIX] Re-add missing jumpToUrl in DB Check > Full search 69/44369/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 29 Oct 2015 18:10:26 +0000 (19:10 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 29 Oct 2015 18:30:37 +0000 (19:30 +0100)
Resolves: #71139
Releases: master
Change-Id: I60079d4ea3315b6cef25776475eb19c7c16e0ac1
Reviewed-on: https://review.typo3.org/44369
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/lowlevel/Classes/View/DatabaseIntegrityView.php

index 821ad54..9bd1847 100644 (file)
@@ -89,6 +89,15 @@ class DatabaseIntegrityView extends BaseScriptClass
         $this->menuConfig();
         $this->moduleTemplate = GeneralUtility::makeInstance(ModuleTemplate::class);
         $this->moduleTemplate->setForm('<form action="" method="post" name="' . $this->formName . '">');
+        $this->moduleTemplate->addJavaScriptCode(
+            'jumpToUrl',
+            '
+            function jumpToUrl(URL) {
+                window.location.href = URL;
+                return false;
+            }
+            '
+        );
     }
 
     /**