select default nature on Task
This commit is contained in:
@@ -62,6 +62,10 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block localjavascript %}
|
{% block localjavascript %}
|
||||||
|
var defaultsel = 'Prestation';
|
||||||
|
$("#task_nature option").filter(function() {
|
||||||
|
return $(this).text() == defaultsel;
|
||||||
|
}).prop('selected', true);
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#task_name").focus();
|
$("#task_name").focus();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user