From 9cd1bf80f730a2cd2a48aca332ab55141361437d Mon Sep 17 00:00:00 2001 From: Rohan Katkar Date: Tue, 28 Oct 2014 11:01:46 +0530 Subject: [PATCH] CRM-15517 Fix for images broken for Premiums on contribution page --- CRM/Contribute/Form/ManagePremiums.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CRM/Contribute/Form/ManagePremiums.php b/CRM/Contribute/Form/ManagePremiums.php index 4c9c34bbdf..e324ccd2ae 100644 --- a/CRM/Contribute/Form/ManagePremiums.php +++ b/CRM/Contribute/Form/ManagePremiums.php @@ -189,6 +189,18 @@ class CRM_Contribute_Form_ManagePremiums extends CRM_Contribute_Form { $this->addFormRule(array('CRM_Contribute_Form_ManagePremiums', 'formRule')); + $this->addButtons(array( + array( + 'type' => 'upload', + 'name' => ts('Save'), + 'isDefault' => TRUE, + ), + array( + 'type' => 'cancel', + 'name' => ts('Cancel'), + ), + ) + ); $this->assign('productId', $this->_id); } -- 2.25.1