From 2353900da49541a67f722a3615fd5362b61fb97d Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Fri, 16 May 2014 20:04:34 +0530 Subject: [PATCH] CoreBug Related Changes --- templates/CRM/Event/Form/ManageEvent/Registration.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Event/Form/ManageEvent/Registration.tpl b/templates/CRM/Event/Form/ManageEvent/Registration.tpl index 859eaf701c..eae7f9293a 100644 --- a/templates/CRM/Event/Form/ManageEvent/Registration.tpl +++ b/templates/CRM/Event/Form/ManageEvent/Registration.tpl @@ -421,11 +421,11 @@ invert = 0 var addtlPartc = $(this).data('addtlPartc'); - if (addtlPartc) { - profileBottomCount++; + if ($(this).closest("tr").attr("class").indexOf("additional_custom_post") > -1 || addtlPartc) { + profileBottomCountAdd++ urlPath = CRM.url('civicrm/event/manage/registration', { addProfileBottomAdd: 1, addProfileNumAdd: profileBottomCountAdd, snippet: 4 } ) ; } else { - profileBottomCountAdd++; + profileBottomCount++; urlPath = CRM.url('civicrm/event/manage/registration', { addProfileBottom: 1 , addProfileNum : profileBottomCount, snippet: 4 } ) ; } -- 2.25.1