게시글 미리보기시 csrf 문제 수정

게시글 미리보기시 에디터 스타일이 반영될 수 있도록 추가
This commit is contained in:
conory 2020-01-12 00:37:11 +09:00
parent 3efc2a6b13
commit ffe891fdae
2 changed files with 2 additions and 1 deletions

View file

@ -745,6 +745,7 @@ function doDocumentPreview(obj) {
if(!dummy_obj.length) {
jQuery(
'<form id="previewDocument" target="previewDocument" method="post" action="'+request_uri+'">'+
'<input type="hidden" name="_rx_csrf_token" value="' + getCSRFToken() + '" />'+
'<input type="hidden" name="module" value="document" />'+
'<input type="hidden" name="act" value="dispDocumentPreview" />'+
'<input type="hidden" name="mid" value="' + current_mid +'" />'+