set Default Nature Task choice correctly
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block localjavascript %}
|
||||
$("#project_customer").addClass("select2entity");
|
||||
$("#project_customer").addClass("select2entity");
|
||||
$(document).ready(function() {
|
||||
$("#project_name").focus();
|
||||
});
|
||||
|
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user