mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Implement History.js logic for "Cancel" action
This commit is contained in:
parent
95d9257b1b
commit
8f720406b5
@ -113,7 +113,7 @@ class CMSPageAddController extends CMSPageEditController {
|
|||||||
->addExtraClass('ss-ui-action-constructive')->setAttribute('data-icon', 'accept')
|
->addExtraClass('ss-ui-action-constructive')->setAttribute('data-icon', 'accept')
|
||||||
->setUseButtonTag(true),
|
->setUseButtonTag(true),
|
||||||
FormAction::create("doCancel", _t('CMSMain.Cancel',"Cancel"))
|
FormAction::create("doCancel", _t('CMSMain.Cancel',"Cancel"))
|
||||||
->addExtraClass('ss-ui-action-destructive')
|
->addExtraClass('ss-ui-action-destructive ss-ui-action-cancel')
|
||||||
->setUseButtonTag(true)
|
->setUseButtonTag(true)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user