[gen] pod field: bugfix: download a generated or frozen pod result.
This commit is contained in:
parent
1455a74056
commit
d9d93a650b
2 changed files with 7 additions and 3 deletions
|
@ -731,7 +731,10 @@ class Pod(Field):
|
|||
# attachment?
|
||||
mailing = rq.get('mailing')
|
||||
if not mailing:
|
||||
res.writeResponse(rq.RESPONSE)
|
||||
# With disposition=inline, Google Chrome and IE may launch a PDF
|
||||
# viewer that triggers one or many additional crashing HTTP GET
|
||||
# requests.
|
||||
res.writeResponse(rq.RESPONSE, disposition='attachment')
|
||||
return
|
||||
else:
|
||||
# Send the email(s).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue