CRM-15595 indentation fix
authormonishdeb <monish.deb@webaccessglobal.com>
Tue, 18 Nov 2014 14:18:52 +0000 (19:48 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Tue, 18 Nov 2014 14:18:52 +0000 (19:48 +0530)
----------------------------------------
* 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
js/model/crm.uf.js

index 9dc5cf8d7bfb736a44c473aefa774012035b5219..b46dd499dced245a2d6c870d4d1d39d8c899b0ef 100644 (file)
         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(),
index cdb0ad24a9fec45ee6cb291483fb69a6645a11ed..286617638c73afb7813637bb0f168c00a9a17087 100644 (file)
       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 {