From: Jitendra Purohit Date: Fri, 1 Aug 2014 14:38:32 +0000 (+0530) Subject: Additional profile select box fix in Manage Event Page X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2add373934b14134bba02f267b584c09c1acff90;p=civicrm-core.git Additional profile select box fix in Manage Event Page --- 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 {