var fname = '#priceset';
if ( !priceSetId ) {
cj('#membership_type_id_1').val(0);
- CRM.buildCustomData(customDataType, null );
+ CRM.buildCustomData(customDataType, null);
// hide price set fields.
cj( fname ).hide( );
subTypeNames = null;
}
- CRM.buildCustomData( customDataType, subTypeNames );
+ CRM.buildCustomData(customDataType, subTypeNames);
}
function enableAmountSection( setContributionType ) {
</table>
{/if}
- <div id="customData"></div>
- {*include custom data js file*}
- {include file="CRM/common/customData.tpl"}
+ {include file="CRM/common/customDataBlock.tpl"}
<div>{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
CRM.$(function($) {
$('#membershipOrgType').hide();
$('#changeNumTerms').hide();
- {/literal}
- CRM.buildCustomData('{$customDataType}');
- {if $customDataSubType}
- CRM.buildCustomData('{$customDataType}', {$customDataSubType});
- {/if}
- {literal}
});
function checkPayment() {