[REF] Fix adding in the accessKey based on the button array
authorSeamus Lee <seamuslee001@gmail.com>
Mon, 5 Oct 2020 22:50:57 +0000 (09:50 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Mon, 5 Oct 2020 22:50:57 +0000 (09:50 +1100)
templates/CRM/common/formButtons.tpl

index 10b848a154d29647455a041e32a09b9ffefcb170..355abcadc62fe39253c4d6525b3aafa56f3f6032 100644 (file)
@@ -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}