'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;';
}
}