From b4db88470310ad45dcb354f51916c6844800f9a2 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 3 May 2014 12:56:22 -0700 Subject: [PATCH] CRM-14572 - fix event registration popup --- templates/CRM/Event/Form/Participant.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Event/Form/Participant.tpl b/templates/CRM/Event/Form/Participant.tpl index 9ee6151953..1ffc8bd808 100644 --- a/templates/CRM/Event/Form/Participant.tpl +++ b/templates/CRM/Event/Form/Participant.tpl @@ -391,7 +391,7 @@ } function buildRoleCustomData() { - var roleId = $('select[name^=role_id]', $form).select2('val').join(); + var roleId = $('select[name^=role_id]', $form).val().join(); CRM.buildCustomData('Participant', roleId, {/literal}{$roleCustomDataTypeID}{literal}); } -- 2.25.1