Index: typo3/alt_doc_nodoc.php =================================================================== --- typo3/alt_doc_nodoc.php (Revision 8077) +++ typo3/alt_doc_nodoc.php (Arbeitskopie) @@ -53,14 +53,9 @@ require('template.php'); $LANG->includeLLFile('EXT:lang/locallang_alt_doc.xml'); +require_once(t3lib_extMgm::extPath('opendocs') . 'class.tx_opendocs.php'); -if (t3lib_extMgm::isLoaded('taskcenter') && t3lib_extMgm::isLoaded('taskcenter_recent')) { - require_once(t3lib_extMgm::extPath('taskcenter').'task/class.mod_user_task.php'); - require_once(t3lib_extMgm::extPath('taskcenter_recent').'class.tx_taskcenterrecent.php'); -} - - /** * Script Class for the "No-doc" display; This shows most recently edited records. * @@ -101,6 +96,21 @@ $this->doc->bodyTagMargins['y']=5; $this->doc->backPath = $BACK_PATH; + // Add JS + $this->doc->JScode = $this->doc->wrapScriptTags(' + function jump(url, modName, mainModName) { + // clear information about which entry in nav. tree that might have been highlighted. + top.fsMod.navFrameHighlightedID = []; + + if (top.content && top.content.nav_frame && top.content.nav_frame.refresh_nav) { + top.content.nav_frame.refresh_nav(); + } + + top.nextLoadModuleUrl = url; + top.goToModule(modName); + } + '); + // Start the page: $this->content=''; $this->content.=$this->doc->startPage('TYPO3 Edit Document'); @@ -156,16 +166,10 @@ $msg[]='
'.sprintf($LANG->getLL('noDocuments_msg2',1),implode(' ',$msg_2)).'
' . $GLOBALS['LANG']->getLL('noDocuments_msg3', TRUE) . '
'.$LANG->getLL('noDocuments_msg3',1).'