diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index 6bec6d96..6bf2ad09 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -34,9 +34,9 @@ $(document).ready(function () { }); } - if($("#dicom-element").length) { + if($("#dicom-image").length) { -$('#dicom-element').bind('contextmenu', function(e) { +$('#dicom-image').bind('contextmenu', function(e) { return false; }); @@ -56,7 +56,7 @@ cornerstoneTools.init(); -const element = document.getElementById('dicom-element'); +const element = document.getElementById('dicom-image'); const imageId = element.dataset.url; cornerstone.enable(element); diff --git a/anatomy/templates/anatomy/exam.html b/anatomy/templates/anatomy/exam.html index d9c59c6e..d60aee97 100644 --- a/anatomy/templates/anatomy/exam.html +++ b/anatomy/templates/anatomy/exam.html @@ -41,7 +41,7 @@
-
+
{% csrf_token %} diff --git a/anatomy/templates/anatomy/mark.html b/anatomy/templates/anatomy/mark.html index 5769289e..c078f663 100644 --- a/anatomy/templates/anatomy/mark.html +++ b/anatomy/templates/anatomy/mark.html @@ -4,7 +4,7 @@

Marking question {{question_details.current}} of {{question_details.total}}

{{ question.question_type }}

-
+
{% csrf_token %} diff --git a/anatomy/templates/anatomy/question_detail.html b/anatomy/templates/anatomy/question_detail.html index 552056b7..1c2cb81d 100644 --- a/anatomy/templates/anatomy/question_detail.html +++ b/anatomy/templates/anatomy/question_detail.html @@ -1,7 +1,7 @@ {% extends 'anatomy/base.html' %} {% block content %} -
+
{{ question.created_date }}