Someimes ya just gotta say enough already
authoreileen <emcnaughton@wikimedia.org>
Sat, 31 Aug 2019 10:09:34 +0000 (22:09 +1200)
committereileen <emcnaughton@wikimedia.org>
Sat, 31 Aug 2019 10:09:34 +0000 (22:09 +1200)
CRM/Contact/Import/Form/MapField.php

index 96c1b9f80fe90c962a046c385de5859ce28e2b6d..da428dd6bd02adae962743a13df65dd6d023b3c8 100644 (file)
@@ -890,9 +890,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField {
 
           if ($websiteTypeId) {
             $defaults["mapper[$i]"] = [$relation, $contactDetails, $websiteTypeId];
-            if (!$websiteTypeId) {
-              $js .= "{$formName}['mapper[$i][2]'].style.display = 'none';\n";
-            }
           }
           else {