[BUGFIX] NewContentElementWizardController to NewContentElementController
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Tree / View / ContentCreationPagePositionMap.php
index 7d344ed..3bbde87 100644 (file)
@@ -58,6 +58,6 @@ class ContentCreationPagePositionMap extends PagePositionMap
             'defVals[tt_content][sys_language_uid]' => $sys_lang,
             'returnUrl' => $GLOBALS['SOBE']->R_URI
         ]);
-        return 'list_frame.location.href=' . GeneralUtility::quoteJSvalue($location) . '+document.editForm.defValues.value; return false;';
+        return $this->clientContext . '.location.href=' . GeneralUtility::quoteJSvalue($location) . '+document.editForm.defValues.value; return false;';
     }
 }