Skip to content

Commit

Permalink
fixed example project corresponding to new Arctic version.
Browse files Browse the repository at this point in the history
  • Loading branch information
d.choban committed Feb 2, 2018
1 parent 8dd977a commit 075876f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

Always reference the ticket number at the end of the issue description.

[unreleased]

###Fixed

- Search form JS submitting selector - [#248][248]

[248]: //github.com/sanoma/django-arctic/issues/248


##1.0.0

Expand Down
2 changes: 1 addition & 1 deletion arctic/static/arctic/dist/assets/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion arctic/static/arctic/src/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ $(document).ready(function() {
// Search input by clicking on Icon
var $searchIcon = $('[js-search-submit]');
$searchIcon.on('click', function (){
$('form').submit();
$('form.search-form').submit();
})
});
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 @@ -22,7 +22,7 @@
</div>
{% endblock %}
{% if simple_search_form or advanced_search_form %}
<form action="" method="GET" class="col-12 col-md-6 push-right list-inline-search">
<form action="" method="GET" class="search-form col-12 col-md-6 push-right list-inline-search">
{% block search_form %}
<fieldset type="get" id="arctic_search_form">
<div class="page-filters row">
Expand Down

0 comments on commit 075876f

Please sign in to comment.