mirror of
https://github.com/documize/community.git
synced 2025-07-22 06:39:43 +02:00
PDF section type build prep
Closes #207 -- view PDF's with new PDF section type.
This commit is contained in:
parent
b5cd378302
commit
728789195c
9 changed files with 844 additions and 789 deletions
|
@ -669,6 +669,9 @@ func (h *Handler) FetchDocumentData(w http.ResponseWriter, r *http.Request) {
|
|||
response.WriteServerError(w, method, err)
|
||||
return
|
||||
}
|
||||
if len(a) == 0 {
|
||||
a = []attachment.Attachment{}
|
||||
}
|
||||
|
||||
// Prepare response.
|
||||
data := BulkDocumentData{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue