diff --git a/Classes/Controller/Backend/Search/AbstractModuleController.php b/Classes/Controller/Backend/Search/AbstractModuleController.php
index af77a23908..3cad029d56 100644
--- a/Classes/Controller/Backend/Search/AbstractModuleController.php
+++ b/Classes/Controller/Backend/Search/AbstractModuleController.php
@@ -222,11 +222,6 @@ protected function initializeView($view)
return;
}
- $this->moduleTemplate->addJavaScriptCode(
- 'mainJsFunctions',
- '
- top.fsMod.recentIds["searchbackend"] = ' . $this->selectedPageUID . ';'
- );
if ($this->selectedSite === null) {
return;
}
diff --git a/Resources/Private/Layouts/Backend/WithPageTree.html b/Resources/Private/Layouts/Backend/WithPageTree.html
index 3f060e61a8..7a06498688 100644
--- a/Resources/Private/Layouts/Backend/WithPageTree.html
+++ b/Resources/Private/Layouts/Backend/WithPageTree.html
@@ -3,6 +3,8 @@
+
+