diff --git a/src/Extensions/Page_ObjectWorkflowApplicationExtension.php b/src/Extensions/Page_ObjectWorkflowApplicationExtension.php index b7823131..541f9a18 100644 --- a/src/Extensions/Page_ObjectWorkflowApplicationExtension.php +++ b/src/Extensions/Page_ObjectWorkflowApplicationExtension.php @@ -44,7 +44,8 @@ public function updateCMSActions(FieldList $actions) Requirements::javascript('symbiote/silverstripe-advancedworkflow:client/dist/js/CancelButton.js'); $action = FormAction::create('cancelworkflow', 'Cancel Workflow') - ->setUseButtonTag(true)->setAttribute('data-icon', 'navigation'); + ->setUseButtonTag(true) + ->addExtraClass('font-icon-cancel'); if ($actions->fieldByName('MajorActions')) { $actions->fieldByName('MajorActions')->push($action);