Commit d5e1796dbbb7a58af1afb393c50df510e30ba5eb

Authored by nbm
1 parent a4afbcb4

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 311 }
312 312 }
313 313  
314   - controllerRedirect('viewDocument', 'fDocumentId=' . $this->oDocument->getId());
  314 + controllerRedirect('browse', 'fFolderId=' . $this->oDocument->getFolderId());
315 315 exit(0);
316 316 }
317 317 }
... ...