Move module javascript into common/lib/xmodule. Still TODO: run jasmine tests in that directory

This commit is contained in:
Calen Pennington
2012-07-17 16:46:36 -04:00
parent 1395e5d55c
commit 3fa636e060
40 changed files with 110 additions and 28 deletions

View File

@@ -98,7 +98,7 @@ def edit_item(request):
item = modulestore().get_item(item_location)
return render_to_response('unit.html', {
'contents': item.get_html(),
'js_module': item.js_module_name(),
'js_module': item.__class__.__name__,
'category': item.category,
'name': item.name,
'previews': get_module_previews(item),