removed course id

This commit is contained in:
Alexander Kryklia
2013-01-04 13:13:05 +02:00
parent d531746236
commit f02621876d

View File

@@ -871,12 +871,6 @@ class DragAndDropInput(InputTypeBase):
self.loaded_attributes['drag_and_drop_json'] = json.dumps(to_js)
self.to_render.add('drag_and_drop_json')
try: # for tests and mock up, work normally not in tets
self.loaded_attributes['course_folder'] = \
self.system.filestore.root_path.split('/')[-1]
except:
self.loaded_attributes['course_folder'] = 'mock'
self.to_render.add('course_folder')
registry.register(DragAndDropInput)