diff --git a/app/views/reports/new/modal/_project_contents.html.erb b/app/views/reports/new/modal/_project_contents.html.erb index 56dbce308..f5b9a2193 100644 --- a/app/views/reports/new/modal/_project_contents.html.erb +++ b/app/views/reports/new/modal/_project_contents.html.erb @@ -67,7 +67,7 @@ projectCheckAlls.click(function() { var nextUl = $(this).closest("div.checkbox").next(); if (nextUl.length && nextUl.is("ul.project-contents-list, \ - ul-experiment-contents-list")) { + ul.experiment-contents-list")) { nextUl.find("input:checkbox").prop("checked", this.checked); } }); diff --git a/app/views/reports/new/modal/_project_contents_inner.html.erb b/app/views/reports/new/modal/_project_contents_inner.html.erb index 6372ad462..ca5ce46f1 100644 --- a/app/views/reports/new/modal/_project_contents_inner.html.erb +++ b/app/views/reports/new/modal/_project_contents_inner.html.erb @@ -9,6 +9,7 @@ <%= form.check_box :project, label: project.name, class: "project-all-cb" %>