diff --git a/templates/CRM/Batch/Form/Entry.tpl b/templates/CRM/Batch/Form/Entry.tpl index d78c10d2a5c3a7f578de3adc94d017579dfd23be..4f7b0d7ce94342b286fce709ccdbbb6922ea75a9 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)); });