Skip to content

Commit

Permalink
FIX Add warning state to revert action in CMS page history
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Oct 27, 2017
1 parent cb0c004 commit 4d06328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Controllers/CMSPageHistoryController.php
Expand Up @@ -202,7 +202,7 @@ public function getEditForm($id = null, $fields = null, $versionID = null, $comp
_t('SilverStripe\\CMS\\Controllers\\CMSPageHistoryController.REVERTTOTHISVERSION', 'Revert to this version')
)
->setUseButtonTag(true)
->addExtraClass('font-icon-back-in-time')
->addExtraClass('btn-warning font-icon-back-in-time')
);
$actions->setForm($form);
$form->setActions($actions);
Expand Down

0 comments on commit 4d06328

Please sign in to comment.