Fixed a regression: display of full draft/rfc text now again obeys the full_draft cookie setting.

- Legacy-Id: 5879
This commit is contained in:
Henrik Levkowetz 2013-07-25 18:29:37 +00:00
parent 1e03a04eca
commit 3c4bee32e5

View file

@ -133,9 +133,7 @@ def document_main(request, name, rev=None):
# specific document types
if doc.type_id == "draft":
split_content = not request.GET.get('include_text')
if request.COOKIES.get("full_draft", "") == "on":
split = False
split_content = not ( request.GET.get('include_text') or request.COOKIES.get("full_draft", "") == "on" )
iesg_state = doc.get_state("draft-iesg")