Work-around for not finding XML for sections in section files. Note: Requires data push
This commit is contained in:
@@ -67,7 +67,7 @@ def modx_dispatch(request, module=None, dispatch=None, id=None):
|
||||
ajax_url = '/modx/'+module+'/'+id+'/'
|
||||
|
||||
# Grab the XML corresponding to the request from course.xml
|
||||
xml = content_parser.module_xml(content_parser.course_file(request.user), module, 'id', id)
|
||||
xml = content_parser.module_xml(request.user, module, 'id', id)
|
||||
|
||||
# Create the module
|
||||
instance=courseware.modules.get_module_class(module)(xml,
|
||||
|
||||
Reference in New Issue
Block a user