Commit 6085dd3e0af7087db97ab4d7884deec3ee34432d

Authored by Conrad Vermeulen
1 parent 96046120

"KTS-1780"

"On bulk actions that are not 'delete', the user should be in the target directory after the action has completed."
Fixed.

Reviewed By: Jalaloedien Abarahams

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6753 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/KTBulkActions.php
@@ -231,6 +231,8 @@ class KTBulkMoveAction extends KTBulkAction { @@ -231,6 +231,8 @@ class KTBulkMoveAction extends KTBulkAction {
231 $this->sReason = $_REQUEST['data']['reason']; 231 $this->sReason = $_REQUEST['data']['reason'];
232 $this->iTargetFolderId = $_REQUEST['data']['fFolderId']; 232 $this->iTargetFolderId = $_REQUEST['data']['fFolderId'];
233 $this->oTargetFolder = Folder::get($this->iTargetFolderId); 233 $this->oTargetFolder = Folder::get($this->iTargetFolderId);
  234 + $_REQUEST['fReturnData'] = '';
  235 + $_REQUEST['fFolderId'] = $this->iTargetFolderId;
234 236
235 // does it exists 237 // does it exists
236 if(PEAR::isError($this->oTargetFolder)) { 238 if(PEAR::isError($this->oTargetFolder)) {