Commit 6c181470 by Calen Pennington

staff_problem_info.html is only put on the page for staff, so we don't need to…

staff_problem_info.html is only put on the page for staff, so we don't need to check staff_access inside it
parent 6a4c6ad4
...@@ -61,7 +61,6 @@ category = ${category | h} ...@@ -61,7 +61,6 @@ category = ${category | h}
<script type="text/javascript"> <script type="text/javascript">
// assumes courseware.html's loaded this method. // assumes courseware.html's loaded this method.
% if staff_access:
setup_debug('${element_id}', setup_debug('${element_id}',
%if edit_link: %if edit_link:
'${edit_link}', '${edit_link}',
...@@ -74,5 +73,4 @@ category = ${category | h} ...@@ -74,5 +73,4 @@ category = ${category | h}
'category': '${category}', 'category': '${category}',
'user': '${user}' 'user': '${user}'
}); });
% endif
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment