From: Coleman Watts Date: Thu, 12 Dec 2013 02:21:41 +0000 (-0800) Subject: CRM-13932 - update deprecated jQuery.live() X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b967a2db766059e617e72583dd8772ab3497b1dc;p=civicrm-core.git CRM-13932 - update deprecated jQuery.live() --- diff --git a/templates/CRM/Event/Form/ManageEvent/Registration.tpl b/templates/CRM/Event/Form/ManageEvent/Registration.tpl index 79d61237ad..4c85a3dfef 100644 --- a/templates/CRM/Event/Form/ManageEvent/Registration.tpl +++ b/templates/CRM/Event/Form/ManageEvent/Registration.tpl @@ -427,7 +427,7 @@ invert = 0 //show edit profile field links cj(function() { // show edit for main profile - cj('select[id^="custom_p"]').live( 'change', function( event ) { + cj(document).on('change', 'select[id^="custom_p"]', function( event ) { buildLinks( cj(this), cj(this).val()); }); @@ -437,7 +437,7 @@ invert = 0 }); //show edit profile field links in additional participant - cj('select[id^="additional_custom_p"]').live( 'change', function( event ) { + cj(document).on('change', 'select[id^="additional_custom_p"]', function( event ) { buildLinks( cj(this), cj(this).val()); }); diff --git a/templates/CRM/Price/Form/LineItem.tpl b/templates/CRM/Price/Form/LineItem.tpl index 0c2107b307..5d139a7e6f 100644 --- a/templates/CRM/Price/Form/LineItem.tpl +++ b/templates/CRM/Price/Form/LineItem.tpl @@ -84,7 +84,7 @@ {literal}