Fixed document description editing

This commit is contained in:
Roberto Rosario
2011-04-14 15:38:33 -04:00
parent fd0781eb31
commit af34a5ec5a

View File

@@ -400,6 +400,7 @@ def document_edit(request, document_id):
return HttpResponseRedirect(reverse('document_list'))
document.file_filename = form.cleaned_data['new_filename']
document.description = form.cleaned_data['description']
if 'document_type_available_filenames' in form.cleaned_data:
if form.cleaned_data['document_type_available_filenames']: