From d5cf4608dca857e8338e416fe9631dbada76727d Mon Sep 17 00:00:00 2001 From: kurund <kurund@civicrm.org> Date: Wed, 31 Jul 2013 21:21:54 +0530 Subject: [PATCH] CRM-13078, optimization ---------------------------------------- * CRM-13078: Batch Data Entry silently drops 'batch-valid' entries if no contact_id is associated with them http://issues.civicrm.org/jira/browse/CRM-13078 --- templates/CRM/Batch/Form/Entry.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/CRM/Batch/Form/Entry.tpl b/templates/CRM/Batch/Form/Entry.tpl index d78c10d2a5..4f7b0d7ce9 100644 --- a/templates/CRM/Batch/Form/Entry.tpl +++ b/templates/CRM/Batch/Form/Entry.tpl @@ -103,13 +103,15 @@ {literal} <script type="text/javascript"> cj(function () { - cj('#crm-container').on('keyup change', '*', function () { + cj('.selector-rows').change(function () { var options = { 'url': {/literal}"{crmURL p='civicrm/ajax/batch' h=0}"{literal} }; cj("#Entry").ajaxSubmit(options); + }); + cj('#crm-container').on('keyup change', '*', function () { // validate rows checkColumns(cj(this)); }); -- GitLab