From: Jon Goldberg Date: Tue, 30 Nov 2021 20:57:55 +0000 (-0500) Subject: fixes core#2974, overrides break membership update status when removed X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=98d585e30644d549167a63ddd5989ca55216b772;p=civicrm-core.git fixes core#2974, overrides break membership update status when removed --- diff --git a/templates/CRM/Member/Form/Membership.tpl b/templates/CRM/Member/Form/Membership.tpl index 3387fd890f..4cf2f8d956 100644 --- a/templates/CRM/Member/Form/Membership.tpl +++ b/templates/CRM/Member/Form/Membership.tpl @@ -421,6 +421,7 @@ cj('#memberStatus').hide(); cj('#memberStatus_show').show(); cj('#status-override-end-date').hide(); + cj('#status_id option[selected]').removeAttr('selected'); break; case '1': cj('#memberStatus').show(); @@ -436,6 +437,7 @@ cj('#memberStatus').hide( ); cj('#memberStatus_show').show( ); cj('#status-override-end-date').hide(); + cj('#status_id option[selected]').removeAttr('selected'); break; } }