Index: typo3/file_edit.php =================================================================== --- typo3/file_edit.php (revision 6709) +++ typo3/file_edit.php (working copy) @@ -136,8 +136,12 @@ $this->doc->setModuleTemplate('templates/file_edit.html'); $this->doc->backPath = $BACK_PATH; $this->doc->JScode=$this->doc->wrapScriptTags(' - function backToList() { // - top.goToModule("file_list"); + function backToList(returnUrl) { // + if (returnUrl) { + document.location.href = returnUrl; + } else { + top.goToModule("file_list"); + } } '); $this->doc->form='