fix firefogg upload

This commit is contained in:
j 2013-02-09 01:49:17 +00:00
parent 2a95ea44c4
commit d685485ee4

View file

@ -214,7 +214,7 @@ def addFile(request):
f.selected = True f.selected = True
f.info = data['info'] f.info = data['info']
f.info['extension'] = extension f.info['extension'] = extension
self.parse_info() f.parse_info()
f.save() f.save()
response['data']['item'] = i.itemId response['data']['item'] = i.itemId
response['data']['itemUrl'] = request.build_absolute_uri('/%s' % i.itemId) response['data']['itemUrl'] = request.build_absolute_uri('/%s' % i.itemId)