diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-06-25 16:17:01 -0400 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-06-26 09:09:40 -0400 |
commit | 8108d13501a050bef79038b1f64f91acbd75a6f4 (patch) | |
tree | 7081607beeeaad290d069deb71b286775a9b04cd /src | |
parent | 341b3336ae80fbb3c8e90070c52f62df387c8cf5 (diff) |
Removed Double onclick
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/templates/dashboard/multiple_select_filter_widget.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/templates/dashboard/multiple_select_filter_widget.html b/src/templates/dashboard/multiple_select_filter_widget.html index 91e55a5..4302543 100644 --- a/src/templates/dashboard/multiple_select_filter_widget.html +++ b/src/templates/dashboard/multiple_select_filter_widget.html @@ -123,8 +123,9 @@ '{{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> |