mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
게시글 미리보기시 csrf 문제 수정
게시글 미리보기시 에디터 스타일이 반영될 수 있도록 추가
This commit is contained in:
parent
3efc2a6b13
commit
ffe891fdae
2 changed files with 2 additions and 1 deletions
|
|
@ -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 +'" />'+
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue