Fix missing update of task type on task saving
This commit is contained in:
@@ -241,7 +241,7 @@ function task_save(task_id, task_url) {
|
|||||||
// NOTE: this is tightly linked to the HTML of the task list in for_project.jade.
|
// NOTE: this is tightly linked to the HTML of the task list in for_project.jade.
|
||||||
$('.task-name-' + saved_task._id).text(saved_task.name).flashOnce();
|
$('.task-name-' + saved_task._id).text(saved_task.name).flashOnce();
|
||||||
$task.find('span.name').text(saved_task.name);
|
$task.find('span.name').text(saved_task.name);
|
||||||
$task.find('span.type').text(saved_task.task_type);
|
$task.find('span.type').text(saved_task.properties.task_type);
|
||||||
$task.find('span.status').text(saved_task.properties.status.replace('_', ' '));
|
$task.find('span.status').text(saved_task.properties.status.replace('_', ' '));
|
||||||
|
|
||||||
$task
|
$task
|
||||||
|
Reference in New Issue
Block a user