Update action-menu styles
[civicrm-core.git] / templates / CRM / Activity / Form / ActivityLinks.tpl
index eda8494f5bbead239cb214e218e26dfd823f53dd..3eaff3d9014478ad1fec64962a92af9abcaedac6 100644 (file)
@@ -30,7 +30,7 @@
 {/if}
 
 {if $as_select} {* on 3.2, the activities can be either a drop down select (on the activity tab) or a list (on the action menu) *}
-<select name="other_activity" class="crm-form-select crm-select2 crm-action-menu">
+<select name="other_activity" class="crm-form-select crm-select2 crm-action-menu action-icon-plus">
   <option value="">{ts}New activity{/ts}</option>
 {foreach from=$activityTypes key=k item=link}
   <option value="{$urls.$k}">{$link}</option>
@@ -46,7 +46,7 @@
       if (url) {
         $el.select2('val', '');
         CRM.loadForm(url).on('crmFormSuccess', function() {
-          $el.closest('.crm-ajax-container, #crm-main-content-wrapper').crmSnippet().crmSnippet('refresh');
+          CRM.refreshParent($el);
         });
       }
     });