Commit 8cc590ab5f74dfa499adbfc967bdefac5c1e8534
1 parent
3a1e1293
show appropriate document details sections on deletion
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2236 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php
| ... | ... | @@ -30,7 +30,7 @@ if (checkSession()) { |
| 30 | 30 | //deleting a document link |
| 31 | 31 | $oDocumentLink = DocumentLink::get($fDocumentLinkID); |
| 32 | 32 | if ($oDocumentLink->delete()) { |
| 33 | - redirect("$default->rootUrl/control.php?action=viewDocument&fDocumentID=$fParentDocumentID"); | |
| 33 | + controllerRedirect("viewDocument", "fDocumentID=$fParentDocumentID&fShowSection=linkedDocuments"); | |
| 34 | 34 | } else { |
| 35 | 35 | //an error occured whilst trying to delete the document link |
| 36 | 36 | require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); | ... | ... |