repeat configuration by default collapsed for activity
authorunknown <priyanka.karan26@gmail.com>
Mon, 20 Oct 2014 11:48:37 +0000 (12:48 +0100)
committerunknown <priyanka.karan26@gmail.com>
Mon, 20 Oct 2014 11:48:37 +0000 (12:48 +0100)
templates/CRM/Activity/Form/Activity.tpl
templates/CRM/Core/Form/RecurringEntity.tpl

index 20b712d3350ff9792f5f3452d830a3d0598542da..e3fc67ec0009593ed4010780c80c67cb056b20d5 100644 (file)
                 $('#repetition_start_date').val($('#activity_date_time').val());
                 $('#repetition_start_date_time').val($('#activity_date_time_time').val());
               });
+              $('#recurring-entity-block').addClass('collapsed');
             });
           </script>
         {/literal}
   {/if}
   </div>{* end of form block*}
 {/if} {* end of snippet if*}
-{include file="CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl" entityID=$activityId entityTable="civicrm_activity"}
\ No newline at end of file
+{include file="CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl" entityID=$activityId entityTable="civicrm_activity"}
index fbcdbfc6475268c9549b5ffd9e38ce715707ccac..8589e5c527afe777db4c052e654848d81b1d7f07 100644 (file)
@@ -24,7 +24,7 @@
  +--------------------------------------------------------------------+
 *}
 
-<div class="crm-block crm-form-block crm-core-form-recurringentity-block crm-accordion-wrapper">
+<div class="crm-block crm-form-block crm-core-form-recurringentity-block crm-accordion-wrapper" id="recurring-entity-block">
     <div class="crm-accordion-header">Repeat Configuration</div>
     <div class="crm-accordion-body">
         <div class="crm-submit-buttons">
             if (Object.keys(result).length > 0) {
               var errors = [];
               var participantData = [];
-              var html = 'Based on your repeat configuration here is the list of dates, Do you wish to create repeating set of these dates?<br/><table id="options" class="display"><thead><tr><th>Sr No</th><th>Start date</th><th id="th-end-date">End date</th></tr><thead>';
+              var html = 'Based on your repeat configuration here is the list of dates, Do you wish to create recurring set of these dates?<br/><table id="options" class="display"><thead><tr><th>Sr No</th><th>Start date</th><th id="th-end-date">End date</th></tr><thead>';
               var count = 1;
               for(var i in result) {
                 if (i != 'errors') {