Giving the parent div and the button the same onclick meant the function
was being executed twice.
Change-Id: I51d071ba1cf88d3d45dbdbe9372759c790b087de
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
'{{obj.id}}');">
<p class="grid-item-header">{{obj.name}}</p>
<p class="grid-item-description">{{obj.description}}</p>
- <button type="button" class="btn btn-success grid-item-select-btn" onclick="multi_filter_widget.processClick(
- '{{obj.id}}');">{% if obj.multiple %}Add{% else %}Select{% endif %}</button>
+ <button type="button" class="btn btn-success grid-item-select-btn">
+ {% if obj.multiple %}Add{% else %}Select{% endif %}
+ </button>
</div>
{% endfor %}
</div>