From: Matthew Wire Date: Mon, 22 Nov 2021 12:14:12 +0000 (+0000) Subject: Remove broken dynamic title from event template X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=305cf3039a8d30d011eaeee8214f38b8f7165a35;p=civicrm-core.git Remove broken dynamic title from event template --- diff --git a/templates/CRM/Event/Form/ManageEvent/Tab.tpl b/templates/CRM/Event/Form/ManageEvent/Tab.tpl index bbaf1a0fc6..fc7f2087b1 100644 --- a/templates/CRM/Event/Form/ManageEvent/Tab.tpl +++ b/templates/CRM/Event/Form/ManageEvent/Tab.tpl @@ -78,15 +78,6 @@ CRM.$(function($) { return false; }); - // Update title dynamically - $('h1').each(function() { - var title = {/literal}{$title|json_encode}{literal}; - $(this).html($(this).html().replace(title, '' + title + '')); - }); - $('#crm-main-content-wrapper').on('keyup change', 'input#title', function() { - $('#crm-event-name-page-title').text($(this).val()); - }); - }); {/literal}