mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
Display by default only visible buttons
This commit is contained in:
parent
5ea531fe68
commit
368d285747
@ -12,7 +12,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div id="div_active_only" class="form-check">
|
<div id="div_active_only" class="form-check">
|
||||||
<label for="active_only" class="form-check-label">
|
<label for="active_only" class="form-check-label">
|
||||||
<input type="checkbox" name="active_only" class="checkboxinput form-check-input" id="active_only">
|
<input type="checkbox" name="active_only" class="checkboxinput form-check-input" checked="" id="active_only">
|
||||||
{% trans "Display visible buttons only" %}
|
{% trans "Display visible buttons only" %}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
@ -94,6 +94,8 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#search_field").keyup(search_field_moved);
|
$("#search_field").keyup(search_field_moved);
|
||||||
$("#active_only").change(search_field_moved);
|
$("#active_only").change(search_field_moved);
|
||||||
|
|
||||||
|
search_field_moved();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user