staff_problem_info.html is only put on the page for staff, so we don't need to check staff_access inside it

This commit is contained in:
Calen Pennington
2013-01-23 14:37:36 -05:00
parent 6a4c6ad4d8
commit 6c181470c6

View File

@@ -61,18 +61,16 @@ category = ${category | h}
<script type="text/javascript">
// assumes courseware.html's loaded this method.
% if staff_access:
setup_debug('${element_id}',
%if edit_link:
'${edit_link}',
%else:
null,
%endif
{
'location': '${location}',
'xqa_key': '${xqa_key}',
'category': '${category}',
'user': '${user}'
});
% endif
setup_debug('${element_id}',
%if edit_link:
'${edit_link}',
%else:
null,
%endif
{
'location': '${location}',
'xqa_key': '${xqa_key}',
'category': '${category}',
'user': '${user}'
});
</script>