Fix data_dirs for /static link replacement

This commit is contained in:
Calen Pennington
2013-02-13 16:15:22 -05:00
parent f0f7e0dc1c
commit 927da34477
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ class XModuleItemFactory(Factory):
new_item = store.clone_item(template, dest_location)
# TODO: This needs to be deleted when we have proper storage for static content
new_item.metadata['data_dir'] = parent.metadata['data_dir']
new_item.data_dir = parent.data_dir
# replace the display name with an optional parameter passed in from the caller
if display_name is not None: