Commit d32e28b64b55850436dcb992f271163e500635c4

Authored by michael
1 parent aadc78e2

show appropriate document details sections on addition


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2235 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkBL.php
... ... @@ -31,7 +31,7 @@ if (checkSession()) {
31 31 //create a new document link
32 32 $oDocumentLink = & new DocumentLink($fDocumentID, $fTargetDocumentID);
33 33 if ($oDocumentLink->create()) {
34   - redirect($default->rootUrl . "/control.php?action=viewDocument&fDocumentID=$fDocumentID");
  34 + controllerRedirect("viewDocument", "fDocumentID=$fDocumentID&fShowSection=linkedDocuments");
35 35 } else {
36 36 require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc");
37 37 //an error occured while trying to create the document link
... ...