Index: typo3/class.db_list.inc =================================================================== --- typo3/class.db_list.inc (Revision 8650) +++ typo3/class.db_list.inc (Arbeitskopie) @@ -828,8 +828,9 @@ if (is_array($localizedRecord)) { // Create parameters and finally run the classic page module for creating a new page translation + $url = substr($this->listURL(), strlen($this->backPath)); $params = '&edit['.$table.']['.$localizedRecord['uid'].']=edit'; - $returnUrl = '&returnUrl='.rawurlencode($this->listURL()); + $returnUrl = '&returnUrl='.rawurlencode($url); $location = $GLOBALS['BACK_PATH'].'alt_doc.php?'.$params.$returnUrl; t3lib_utility_Http::redirect($location); Index: typo3/class.db_list_extra.inc =================================================================== --- typo3/class.db_list_extra.inc (Revision 8650) +++ typo3/class.db_list_extra.inc (Arbeitskopie) @@ -1570,9 +1570,10 @@ $lNew = ''; foreach($this->pageOverlays as $lUid_OnPage => $lsysRec) { if (!isset($translations['translations'][$lUid_OnPage]) && $GLOBALS['BE_USER']->checkLanguageAccess($lUid_OnPage)) { + $url = substr($this->listURL(), strlen($this->backPath)); $href = $this->backPath . $GLOBALS['TBE_TEMPLATE']->issueCommand( - '&cmd['.$table.']['.$row['uid'].'][localize]='.$lUid_OnPage, - $this->listURL().'&justLocalized='.rawurlencode($table.':'.$row['uid'].':'.$lUid_OnPage) + '&cmd[' . $table . '][' . $row['uid'] . '][localize]=' . $lUid_OnPage, + $url . '&justLocalized=' . rawurlencode($table . ':' . $row['uid'] . ':' . $lUid_OnPage) ); $language = t3lib_BEfunc::getRecord('sys_language', $lUid_OnPage, 'title'); $lC = ($this->languageIconTitles[$lUid_OnPage]['flagIcon'] ? '' : $this->languageIconTitles[$lUid_OnPage]['title']);