Skip to content
Snippets Groups Projects
Commit f6bbd570 authored by colemanw's avatar colemanw
Browse files

Merge pull request #1697 from davecivicrm/CRM-13451

Expose max_related field in EDIT membership types if relationship_type_i...
parents 2aaf14a9 77d6c935
Branches
Tags
No related merge requests found
......@@ -203,10 +203,19 @@ cj(function(){
showHidePeriodSettings();
});
showHideMaxRelated(cj('#relationship_type_id :selected').val());
cj('#relationship_type_id').change(function(){
showHideMaxRelated(cj('#relationship_type_id :selected').val());
});
{/literal}
{if $action eq 2}
{literal}
showHideMaxRelated(cj('#relationship_type_id').val());
cj('#relationship_type_id').change(function(){
showHideMaxRelated(cj('#relationship_type_id').val());
});
{/literal}{else}{literal}
showHideMaxRelated(cj('#relationship_type_id :selected').val());
cj('#relationship_type_id').change(function(){
showHideMaxRelated(cj('#relationship_type_id :selected').val());
});
{/literal}{/if}{literal}
});
function showHidePeriodSettings() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment