select default nature on Task

This commit is contained in:
2020-10-06 14:41:32 +02:00
parent 653031017c
commit c28f7a8b2f

View File

@@ -62,6 +62,10 @@
{% endblock %}
{% block localjavascript %}
var defaultsel = 'Prestation';
$("#task_nature option").filter(function() {
return $(this).text() == defaultsel;
}).prop('selected', true);
$(document).ready(function() {
$("#task_name").focus();