From f8db8a6628c8ea9d3b151e500803c80bf279f977 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 24 Dec 2013 14:02:57 -0800 Subject: [PATCH] Js cleanup --- templates/CRM/Financial/Form/Search.tpl | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/CRM/Financial/Form/Search.tpl b/templates/CRM/Financial/Form/Search.tpl index adde359a8f..f785374c2f 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() { -- 2.25.1