Skip to content

Commit

Permalink
CRM-13309: Participant Role on Event's Schedule Reminder form does no…
Browse files Browse the repository at this point in the history
…t populate
  • Loading branch information
monishdeb committed Aug 1, 2017
1 parent 52186d7 commit 78f23f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CRM/Admin/Form/ScheduleReminders.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public function buildQuickForm() {
)));
if ($mapping) {
$this->_mappingID = $mapping->getId();
$this->add('hidden', 'mappingID', $this->_mappingID);
}
else {
CRM_Core_Error::fatal('Could not find mapping for event scheduled reminders.');
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Admin/Form/ScheduleReminders.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
$('#mode', $form).change(loadMsgBox);

function populateRecipient() {
var mappingID = $('#entity_0', $form).val();
var mappingID = $('#entity_0', $form).val() || $('[name^=mappingID]', $form).val();
var recipient = $("#recipient", $form).val();
$("#recipientList", $form).hide();
if ($('#limit_to').val() != '' ) {
Expand Down

0 comments on commit 78f23f7

Please sign in to comment.