CRM-14572 - fix event registration popup
authorColeman Watts <coleman@civicrm.org>
Sat, 3 May 2014 19:56:22 +0000 (12:56 -0700)
committerColeman Watts <coleman@civicrm.org>
Sat, 3 May 2014 19:56:22 +0000 (12:56 -0700)
templates/CRM/Event/Form/Participant.tpl

index 9ee615195328b9953ad76e7e5787052f2458d75d..1ffc8bd8083222450abe3e7218e6f7af209fbff9 100644 (file)
         }
 
         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});
         }