From: monishdeb Date: Tue, 18 Nov 2014 14:18:52 +0000 (+0530) Subject: CRM-15595 indentation fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0c3fb122fe34655fcfc1d7e2a6b760ce88596571;p=civicrm-core.git CRM-15595 indentation fix ---------------------------------------- * CRM-15595: Individual sub-type custom fields don't appear in online event registration https://issues.civicrm.org/jira/browse/CRM-15595 --- diff --git a/js/jquery/jquery.crmProfileSelector.js b/js/jquery/jquery.crmProfileSelector.js index 9dc5cf8d7b..b46dd499dc 100644 --- a/js/jquery/jquery.crmProfileSelector.js +++ b/js/jquery/jquery.crmProfileSelector.js @@ -61,12 +61,7 @@ else { civiComponent = 'Contribution'; } - CRM.alert( - ts('The selected profile is using a custom field which is not assigned to the "%1" being configured.', { - 1: civiComponent - }), - ts('Warning') - ); + CRM.alert(ts('The selected profile is using a custom field which is not assigned to the "%1" being configured.', {1: civiComponent}), ts('Warning')); } var view = new CRM.ProfileSelector.View({ ufGroupId: $select.val(), diff --git a/js/model/crm.uf.js b/js/model/crm.uf.js index cdb0ad24a9..286617638c 100644 --- a/js/model/crm.uf.js +++ b/js/model/crm.uf.js @@ -104,8 +104,7 @@ case 'Case': return 'case_1'; default: - if (!$.isEmptyObject(CRM.contactSubTypes) && - ($.inArray(field_type,CRM.contactSubTypes) > -1)) { + if (!$.isEmptyObject(CRM.contactSubTypes) && ($.inArray(field_type,CRM.contactSubTypes) > -1)) { return 'contact_1'; } else {