);
if (!empty($this->_recurPaymentProcessors)) {
- $memTypeJs['onChange'] = "" . $memTypeJs['onChange'] . "buildAutoRenew(this.value, null, '{$this->_mode}');";
+ $memTypeJs['onChange'] = "" . $memTypeJs['onChange'] . " buildAutoRenew(this.value, null, '{$this->_mode}');";
}
$this->add('text', 'max_related', ts('Max related'),
<script type="text/javascript">
CRM.$(function($) {
{/literal}
- CRM.buildCustomData( '{$customDataType}' );
{if $customDataSubType}
- CRM.buildCustomData( '{$customDataType}', {$customDataSubType} );
+ CRM.buildCustomData('{$customDataType}', {$customDataSubType});
+ {else}
+ CRM.buildCustomData('{$customDataType}');
{/if}
{literal}
});