Skip to content

Commit

Permalink
Fixed reset button on search form
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarcos committed May 3, 2018
1 parent 02b9d0a commit 9706af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arctic/templates/arctic/partials/base_data_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div class="artic_toggle_form hidden" id="arctic_advanced_search" hidden>
{% include "arctic/partials/form_fields.html" with form=advanced_search_form %}
<div class="form-block pull-right">
<input type="reset" value="{% trans 'Clear' %}" class="btn btn-secondary">
<input type="reset" value="{% trans 'Clear' %}" class="btn btn-secondary" onClick='location.href = location.pathname'>
<input type="submit" value="{% trans 'Search' %}" class="btn btn-primary">
</div>
</div>
Expand Down

0 comments on commit 9706af4

Please sign in to comment.