Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.1, 4.1.2
-
Fix Version/s: 4.1.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
When only one sub-type is defined for the Individual contact types, the drop down list of contact types does not appear when editing an Individual contact. This can be confirmed on the demo site by disabling two of three Individual sub-types.
The problem appears to be in this bit of javascript in the 'add' page (around line 469 when viewing the source code on the demo site)
if (cj('#contact_sub_type *').length ==1)
{//if they aren't any subtype we don't offer the option cj('#contact_sub_type').parent().hide(); }Seems like it should be:
if (cj('#contact_sub_type *').length == 0)