Bind click to li, to prevent click on row but outside of a tag.

This commit is contained in:
Martin Edenhofer 2015-09-29 23:37:52 +02:00
parent b28663d331
commit b751d25c19

View file

@ -8,7 +8,7 @@
</div>
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="userAction">
<% for item in @items: %>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" data-type="<%= item.name %>"><%- @T( item.title ) %></a>
<li role="presentation" data-type="<%= item.name %>"><a role="menuitem" tabindex="-1" href="#"><%- @T( item.title ) %></a>
<% end %>
</ul>
</div>