diff --git a/templates/CRM/Financial/Form/Search.tpl b/templates/CRM/Financial/Form/Search.tpl index adde359a8f9b3f652bfdcc79d803306deb65f162..f785374c2ffa3bc38854592d97b5dd995388f19f 100644 --- a/templates/CRM/Financial/Form/Search.tpl +++ b/templates/CRM/Financial/Form/Search.tpl @@ -72,19 +72,19 @@ cj(function($) { buildBatchSelector(); $("#batch_update").removeAttr('disabled'); - $('#financial-search-form :input').change(function() { - if (!$(this).hasClass('crm-inline-error')) { - batchSelector.fnDraw(); - } - }); - - $('#financial-search-form :input').keypress(function(event) { - if (event.which == 13) { - event.preventDefault(); - $(this).change(); - return false; - } - }); + $('#financial-search-form :input') + .change(function() { + if (!$(this).hasClass('crm-inline-error')) { + batchSelector.fnDraw(); + } + }) + .keypress(function(event) { + if (event.which == 13) { + event.preventDefault(); + $(this).change(); + return false; + } + }); var checkedRows = []; function buildBatchSelector() {