diff --git a/web/startScan/templates/startScan/detail_scan.html b/web/startScan/templates/startScan/detail_scan.html
index a0fc4103..4c108506 100644
--- a/web/startScan/templates/startScan/detail_scan.html
+++ b/web/startScan/templates/startScan/detail_scan.html
@@ -692,6 +692,44 @@ Scan Findings
+
{% endblock main_content %}
{% block page_level_script %}
diff --git a/web/static/custom/todo.js b/web/static/custom/todo.js
index 37aaa763..ea65f3c3 100644
--- a/web/static/custom/todo.js
+++ b/web/static/custom/todo.js
@@ -90,14 +90,15 @@ function change_todo_priority(todo_id, imp_type){
function list_subdomain_todos(subdomain_id, subdomain_name){
$('.modal-title').html(`Todos for subdomain ${subdomain_name}`);
- $('#exampleModal').modal('show');
- $('.modal-text').empty(); $('#modal-footer').empty();
- $('.modal-text').append(`
`);
+ $('#modal_dialog').modal('show');
+ $('#modal-content').empty();
+ $('#modal-footer').empty();
+ $('#modal-content').append(`
`);
// query subdomains
$.getJSON(`/api/listTodoNotes/?subdomain_id=${subdomain_id}&format=json`, function(data) {
$('#modal-loader').empty();
- $('#modal-text-content').empty();
- $('#modal-text-content').append(``);
+ $('#modal-content').empty();
+ $('#modal-content').append(``);
for (todo in data['notes']){
todo_obj = data['notes'][todo];
important_badge = '';
@@ -125,7 +126,7 @@ function list_subdomain_todos(subdomain_id, subdomain_name){
}
function get_task_details(todo_id){
- $('#exampleModal').modal('show');
+ $('#modal_dialog').modal('show');
$('.modal-text').empty(); $('#modal-footer').empty();
$('.modal-text').append(`
`);
$.getJSON(`/api/listTodoNotes/?todo_id=${todo_id}&format=json`, function(data) {