menu.tpl mistake?

alt=
smith.kyle
@smithkyle
11 years ago
87 posts
The menu.tpl in jrElastic has the following:

{assign var="oc" value=""}
    {if isset($entry.menu_onclick)}
        {assign var="oc" value=" onclick=\"`$entry.menu_onclick`"}
    {/if}

Looks like the onclick is missing a closing \":

{assign var="oc" value=""}
    {if isset($entry.menu_onclick)}
        {assign var="oc" value=" onclick=\"`$entry.menu_onclick`\""}
    {/if}

But I don't see actually see $oc being used anywhere in the skin though.

Kyle
updated by @smithkyle: 12/13/13 08:02:08PM
brian
@brian
11 years ago
10,148 posts
I'll check this out - thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags