From 2fe04f0ed106572120f8b40ce0eef6137f1430ba Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 6 Oct 2020 09:50:57 +1100 Subject: [PATCH] [REF] Fix adding in the accessKey based on the button array --- templates/CRM/common/formButtons.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/common/formButtons.tpl b/templates/CRM/common/formButtons.tpl index 10b848a154..355abcadc6 100644 --- a/templates/CRM/common/formButtons.tpl +++ b/templates/CRM/common/formButtons.tpl @@ -12,7 +12,7 @@ {* Loops through $linkButtons and assigns html "a" (link) buttons to the template. Used for additional entity functions such as "Move to Case" or "Renew Membership" *} {if $linkButtons} {foreach from=$linkButtons item=linkButton} - {if $linkButton.accesskey} + {if $linkButton.accessKey} {capture assign=accessKey}accesskey="{$linkButton.accessKey}"{/capture} {else}{assign var="accessKey" value=""} {/if} -- 2.25.1