From 0c3fb122fe34655fcfc1d7e2a6b760ce88596571 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Tue, 18 Nov 2014 19:48:52 +0530 Subject: [PATCH] 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 --- js/jquery/jquery.crmProfileSelector.js | 7 +------ js/model/crm.uf.js | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) 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 { -- 2.25.1