Commit 6b287867 by Calen Pennington

Use the new name for item_id in contentstore.views.save_item

parent 45144ec4
......@@ -207,7 +207,7 @@ def save_item(request):
author_string = user_author_string(request.user)
export_to_github(course, "CMS Edit", author_string)
descriptor = modulestore().get_item(item_id)
descriptor = modulestore().get_item(item_location)
preview_html = get_module_previews(descriptor)
return HttpResponse(json.dumps(preview_html))
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