From b09ba3a45df47e178517ffbc91febc2b4978f87c Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 10 Apr 2015 18:00:33 -0400 Subject: [PATCH] CRM-16267 Fix setting dates in membership batch --- templates/CRM/Batch/Form/Entry.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/CRM/Batch/Form/Entry.tpl b/templates/CRM/Batch/Form/Entry.tpl index b270095d3d..722a8d71bd 100755 --- a/templates/CRM/Batch/Form/Entry.tpl +++ b/templates/CRM/Batch/Form/Entry.tpl @@ -513,8 +513,7 @@ function setDateFieldValue(fname, fieldValue, blockNo) { if (date_format != 'mm/dd/yy') { displayDateValue = cj.datepicker.formatDate(date_format, actualDateValue); } - - cj('#field_' + blockNo + '_' + fname + '_display').val(displayDateValue); + cj('[id^=field_' + blockNo + '_' + fname + '_display]').val(displayDateValue); // need to fix time formatting if (dateValues[1]) { -- 2.25.1