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 | e6a645f4128a803d4f5972b1ca548f67576760fa (patch) | |
tree | 2b5aab962f714730c752d1fe506b7fe72823bc04 /dashboard | |
parent | 3fa4ae19d620666d878cd43c56ad15fbe7c7c363 (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 'dashboard')
-rw-r--r-- | dashboard/src/templates/dashboard/multiple_select_filter_widget.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html b/dashboard/src/templates/dashboard/multiple_select_filter_widget.html index 91e55a5..4302543 100644 --- a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html +++ b/dashboard/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> |