From: Rohan Katkar Date: Tue, 29 Jul 2014 06:11:16 +0000 (+0530) Subject: CRM-15037 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=666c306d455e9a425785ad4b05aa58107a7c0b8e;p=civicrm-core.git CRM-15037 --- diff --git a/templates/CRM/Contribute/Form/Contribution.tpl b/templates/CRM/Contribute/Form/Contribution.tpl index fbcba784b3..151b154bf6 100644 --- a/templates/CRM/Contribute/Form/Contribution.tpl +++ b/templates/CRM/Contribute/Form/Contribution.tpl @@ -399,7 +399,7 @@ {if $context eq 'standalone' and $outBound_option != 2 } {literal} CRM.$(function($) { - cj("#contact_1").blur( function( ) { + cj("#contact_id").change( function( ) { checkEmail( ); }); checkEmail( ); @@ -408,7 +408,7 @@ }); function checkEmail( ) { - var contactID = cj("input[name='contact_select_id[1]']").val(); + var contactID = cj("#contact_id").val(); if (contactID) { var postUrl = "{/literal}{crmURL p='civicrm/ajax/checkemail' h=0}{literal}"; cj.post( postUrl, {contact_id: contactID}, diff --git a/templates/CRM/Event/Form/EventFees.tpl b/templates/CRM/Event/Form/EventFees.tpl index bb272a0255..2c1e44ec70 100644 --- a/templates/CRM/Event/Form/EventFees.tpl +++ b/templates/CRM/Event/Form/EventFees.tpl @@ -205,13 +205,13 @@