add xqa interface to staff_problem_info, make staff_debug a modal

window, add xqa modal window, add xqa_key to course metadata
This commit is contained in:
ichuang
2012-08-11 20:12:37 -04:00
parent 241d445f30
commit da64c8f0a1
5 changed files with 126 additions and 14 deletions

View File

@@ -197,7 +197,7 @@ def get_module(user, request, location, student_module_cache, position=None):
if settings.MITX_FEATURES.get('DISPLAY_HISTOGRAMS_TO_STAFF'):
if has_staff_access_to_course(user, module.location.course):
module.get_html = add_histogram(module.get_html, module)
module.get_html = add_histogram(module.get_html, module, user)
return module