From 5cbbd191347f3f018375134f736638c84c1c67ea Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 1 Oct 2020 09:18:33 +1000 Subject: [PATCH] [REF] Add in css classes to make the save and preview button on the Contribution Page widget settings form look consistant with the other buttons on the page --- CRM/Contribute/Form/ContributionPage/Widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/ContributionPage/Widget.php b/CRM/Contribute/Form/ContributionPage/Widget.php index 77cdd5094a..f962551188 100644 --- a/CRM/Contribute/Form/ContributionPage/Widget.php +++ b/CRM/Contribute/Form/ContributionPage/Widget.php @@ -191,7 +191,7 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co $this->addElement('xbutton', $this->_refreshButtonName, ts('Save and Preview'), - ['type' => 'submit'] + ['type' => 'submit', 'class' => 'crm-button crm-form-submit crm-button-type-submit'] ); parent::buildQuickForm(); $this->addFormRule(['CRM_Contribute_Form_ContributionPage_Widget', 'formRule'], $this); -- 2.25.1