From 2add373934b14134bba02f267b584c09c1acff90 Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Fri, 1 Aug 2014 20:08:32 +0530 Subject: [PATCH] Additional profile select box fix in Manage Event Page --- templates/CRM/Event/Form/ManageEvent/Registration.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Event/Form/ManageEvent/Registration.tpl b/templates/CRM/Event/Form/ManageEvent/Registration.tpl index b03c2c3e3a..cbc515ae9a 100644 --- a/templates/CRM/Event/Form/ManageEvent/Registration.tpl +++ b/templates/CRM/Event/Form/ManageEvent/Registration.tpl @@ -26,7 +26,7 @@ {if $addProfileBottomAdd OR $addProfileBottom} {if $addProfileBottomAdd }{$form.additional_custom_post_id_multiple[$profileBottomNumAdd].label} - {else}{$form.custom_post_id[$profileBottomNum].label}{/if} + {else}{$form.custom_post_id_multiple[$profileBottomNum].label}{/if} {if $addProfileBottomAdd }{$form.additional_custom_post_id_multiple[$profileBottomNumAdd].html}{else}{$form.custom_post_id_multiple[$profileBottomNum].html}{/if}   -1 || addtlPartc) { + if ($(this).closest("td").children("input").attr("name").indexOf("additional_custom_post") > -1 || addtlPartc) { profileBottomCountAdd++ urlPath = CRM.url('civicrm/event/manage/registration', { addProfileBottomAdd: 1, addProfileNumAdd: profileBottomCountAdd, snippet: 4 } ) ; } else { -- 2.25.1