Implement establishment selector in bidding view
This commit is contained in:
parent
81f7d6eb66
commit
574f34e556
2 changed files with 6 additions and 0 deletions
5
static/auction/js/establishment-selection.js
Normal file
5
static/auction/js/establishment-selection.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
$("#id_establishment").change(
|
||||
function() {
|
||||
window.location.href = "/auction/bidding/" + $(this).val() + "/";
|
||||
}
|
||||
);
|
|
@ -52,4 +52,5 @@
|
|||
{% block "scripts" %}
|
||||
<script type="text/javascript" charset="utf8" src="{% static "vendor/js/jquery.dataTables.min.js" %}"></script>
|
||||
<script type="text/javascript" src="{% static "auction/js/biddingtable.js" %}"></script>
|
||||
<script type="text/javascript" src="{% static "auction/js/establishment-selection.js" %}"></script>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue