From 714bbd34509a931704933878764ba07f9f3f029c Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 10 Apr 2015 17:31:19 -0400 Subject: [PATCH] Batch js cleanup --- templates/CRM/Batch/Form/Entry.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/CRM/Batch/Form/Entry.tpl b/templates/CRM/Batch/Form/Entry.tpl index dd301864f1..1007ac396b 100755 --- a/templates/CRM/Batch/Form/Entry.tpl +++ b/templates/CRM/Batch/Form/Entry.tpl @@ -129,18 +129,18 @@ CRM.$(function($) { $($form).ajaxSubmit(options); }); - cj('input[id*="primary_contact_"]').change(function() { + $('input[id*="primary_contact_"]').change(function() { var temp = this.id.split('_'); var ROWID = temp[3]; - if (cj(this).val()) { + if ($(this).val()) { updateContactInfo(ROWID,'primary_'); } }); - cj('select[id^="option_type_"]').each(function () { - if (cj(this).val() == 1) { - cj(this).attr('disabled', true); - cj(this).hide(); + $('select[id^="option_type_"]').each(function () { + if ($(this).val() == 1) { + $(this).attr('disabled', true); + $(this).hide(); } }); -- 2.25.1