Commit 0372877e7ca755b6ab94aa6d4e20807fecf65130
1 parent
f8fe24cb
Move requires a base folder to move from - just use the current
document's folder_id. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3625 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
0 deletions
plugins/ktcore/KTDocumentActions.php
| ... | ... | @@ -73,6 +73,10 @@ class KTDocumentMoveAction extends KTBuiltInDocumentActionSingle { |
| 73 | 73 | } |
| 74 | 74 | return parent::_disable(); |
| 75 | 75 | } |
| 76 | + | |
| 77 | + function getURL() { | |
| 78 | + return sprintf("/control.php?action=%s&fDocumentIDs[]=%d&fReturnDocumentID=%d&fFolderID=%d", $this->sBuiltInAction, $this->oDocument->getID(), $this->oDocument->getID(), $this->oDocument->getFolderID()); | |
| 79 | + } | |
| 76 | 80 | } |
| 77 | 81 | $oKTActionRegistry->registerAction('documentaction', 'KTDocumentMoveAction', 'ktcore.actions.document.move'); |
| 78 | 82 | ... | ... |