Commit 297b2188ce00958169c3af01b51110a494f1e86f

Authored by Neil Blakey-Milner
1 parent c62a19c9

Redirect to folder containing the document that was just deleted.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4319 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/KTDocumentActions.php
@@ -311,7 +311,7 @@ class KTDocumentDeleteAction extends KTDocumentAction { @@ -311,7 +311,7 @@ class KTDocumentDeleteAction extends KTDocumentAction {
311 } 311 }
312 } 312 }
313 313
314 - controllerRedirect('viewDocument', 'fDocumentId=' . $this->oDocument->getId()); 314 + controllerRedirect('browse', 'fFolderId=' . $this->oDocument->getFolderId());
315 exit(0); 315 exit(0);
316 } 316 }
317 } 317 }