Moved JS for drag-and-drop from global capa. Now it will load only when required, and can be specified from any course.

This commit is contained in:
Valera Rozuvan
2012-12-24 10:01:38 +02:00
committed by Alexander Kryklia
parent 313055fe96
commit 757f955c5e
2 changed files with 1 additions and 2 deletions

View File

@@ -83,8 +83,7 @@ class CapaModule(XModule):
resource_string(__name__, 'js/src/javascript_loader.coffee'),
],
'js': [resource_string(__name__, 'js/src/capa/imageinput.js'),
resource_string(__name__, 'js/src/capa/schematic.js'),
resource_string(__name__, 'js/src/capa/drag_and_drop.js')
resource_string(__name__, 'js/src/capa/schematic.js')
]}
js_module_name = "Problem"