Commit c3a77fe9 authored by Sebastien Robin's avatar Sebastien Robin

again to not change request headers when we only calculate

the size of a pt (size is calculated in zmi view)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42295 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 289fc6b6
......@@ -596,7 +596,7 @@ class OOoTemplate(ZopePageTemplate):
tmp_ooo.setBaseData(ooo)
tmp_ooo.setBaseContentType(self.content_type)
if request is not None and not batch_mode:
if request is not None and not batch_mode and not source:
return tmp_ooo.index_html(REQUEST=request,
RESPONSE=request.RESPONSE,
format=format)
......
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