Commit 6c3f8ec0 authored by Ryan Herbert's avatar Ryan Herbert

file.py init data_file field for jstree upload

parent 76800d18
......@@ -133,7 +133,7 @@ def manage_filename(filename):
name_list = []
name_list = request.vars['filename'].split('/')
filename = name_list[-1]
data = dict(filename=filename)
data = dict(filename=filename, data_file=None)
if len(name_list) > 1:
filepath = defs.FILE_SOURCE + '/' + request.vars['filename']
......
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