diff --git a/code/CMSBatchAction_MoveToController.php b/code/CMSBatchAction_MoveToController.php index 5ac5f4b..d112275 100644 --- a/code/CMSBatchAction_MoveToController.php +++ b/code/CMSBatchAction_MoveToController.php @@ -41,7 +41,8 @@ public function index($request, $pageIDs = null) { * @return Form $form */ public function MovePagesForm($pageIDs = null){ - + Versioned::reading_stage('Stage'); // Needs this for changes to effect draft tree + $action = FormAction::create('doMovePages', 'Move') ->setUseButtonTag('true') ->addExtraClass('ss-ui-button ss-ui-action-constructive batch-form-actions')