set Default Nature Task choice correctly

This commit is contained in:
2020-10-06 15:02:29 +02:00
parent 8b9e27ad50
commit 0d9524f5d2
3 changed files with 3 additions and 6 deletions

View File

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