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:
parent
1e03a04eca
commit
3c4bee32e5
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue