From 00cc7fd30118703bdedccafc1c6ef114403d300b Mon Sep 17 00:00:00 2001 From: mzd Date: Mon, 28 Apr 2014 19:12:22 -0400 Subject: [PATCH] cleanup detritus and no-longer used js functions for managing profiles --- .../Event/Form/ManageEvent/Registration.tpl | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/templates/CRM/Event/Form/ManageEvent/Registration.tpl b/templates/CRM/Event/Form/ManageEvent/Registration.tpl index 0fb0b8447a..75b13c88da 100644 --- a/templates/CRM/Event/Form/ManageEvent/Registration.tpl +++ b/templates/CRM/Event/Form/ManageEvent/Registration.tpl @@ -362,26 +362,6 @@ invert = 0 //show edit profile field links CRM.$(function($) { - // show edit for main profile - cj(document).on('change', 'select[id^="custom_p"]', function( event ) { - buildLinks( cj(this), cj(this).val()); - }); - - // make sure we set edit links for main contact profile when form loads - cj('select[id^="custom_p"]').each( function(e) { - buildLinks( cj(this), cj(this).val()); - }); - - //show edit profile field links in additional participant - cj(document).on('change', 'select[id^="additional_custom_p"]', function( event ) { - buildLinks( cj(this), cj(this).val()); - }); - - // make sure we set edit links for additional profile when form loads - cj('select[id^="additional_custom_p"]').each( function(e) { - buildLinks( cj(this), cj(this).val()); - }); - var profileBottomCount = Number({/literal}{$profilePostMultiple|@count}{literal}); var profileBottomCountAdd = Number({/literal}{$profilePostMultipleAdd|@count}{literal}); @@ -400,8 +380,6 @@ invert = 0 $(this).closest('tbody').append(''); var $el = $(this).closest('tbody').find('tr:last'); - -// CRM.loadPage(urlPath, { target: $el } ); $el.load(urlPath, function() { $(this).trigger('crmLoad') }); } -- 2.25.1