From 52991facb4191e15ee7f56cbcd184d894e8fe02c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 24 Aug 2022 18:25:41 +1200 Subject: [PATCH] Contribution import - Sigh - ok - I fixed the broken js --- CRM/Contribute/Import/Form/MapField.php | 65 +++++-------------------- 1 file changed, 11 insertions(+), 54 deletions(-) diff --git a/CRM/Contribute/Import/Form/MapField.php b/CRM/Contribute/Import/Form/MapField.php index de58e3347c..6eb78ffd68 100644 --- a/CRM/Contribute/Import/Form/MapField.php +++ b/CRM/Contribute/Import/Form/MapField.php @@ -132,12 +132,6 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField { 'formRule', ], $this); - //-------- end of saved mapping stuff --------- - - $mapperKeysValues = $this->getSubmittedValue('mapper'); - $columnHeaders = $this->getColumnHeaders(); - $fieldMappings = $this->getFieldMappings(); - $sel1 = $this->_mapperFields; if (!$this->isUpdateExisting()) { @@ -151,60 +145,23 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField { $sel2['soft_credit'] = $softCreditFields; $sel3['soft_credit']['contact_id'] = $sel3['soft_credit']['external_identifier'] = $sel3['soft_credit']['email'] = CRM_Core_OptionGroup::values('soft_credit_type'); - $sel4 = NULL; - - // end of soft credit section - $js = "\n"; $this->assign('initHideBoxes', $js); - $this->setDefaults($this->getDefaults()); $this->addFormButtons(); } -- 2.25.1