Fix Page preview on edit
This commit is contained in:
parent
5288f20261
commit
89c8f4fb0b
@ -94,7 +94,7 @@ def edit(request, rel_path):
|
|||||||
messages.edit_no_change(request)
|
messages.edit_no_change(request)
|
||||||
return HttpResponseRedirect(url_page(request, rel_path))
|
return HttpResponseRedirect(url_page(request, rel_path))
|
||||||
elif preview is not None:
|
elif preview is not None:
|
||||||
form = EditForm(page_data=page_txt)
|
form = EditForm(page_data=page_txt, page_tags=tags)
|
||||||
#
|
#
|
||||||
context_adaption(
|
context_adaption(
|
||||||
context,
|
context,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user