2 namespace TYPO3\CMS\Backend\Tree\View;
51 $location = \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl(
'record_edit', array(
52 'edit[tt_content][' . (is_array($row) ? -$row[
'uid'] : $pid) .
']' =>
'new',
53 'defVals[tt_content][colPos]' => $vv,
54 'defVals[tt_content][sys_language_uid]' => $sys_lang,
55 'returnUrl' =>
$GLOBALS[
'SOBE']->R_URI
57 return 'window.location.href=' . \TYPO3\CMS\Core\Utility\GeneralUtility::quoteJSvalue($location) .
'+document.editForm.defValues.value; return false;';