mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 22:59:57 +09:00
방명록의 에디터 출력시 발생하는 JS오류 수정 및 답글을 달면 무조건 최근글로 가던 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2580 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
01922d0f13
commit
e370607b39
2 changed files with 5 additions and 0 deletions
|
|
@ -80,6 +80,8 @@
|
|||
* 이 때 여러가지 옵션을 지정하여 다른 에디터 코드를 받을 수 있다.
|
||||
**/
|
||||
$oEditorModel = &getModel('editor');
|
||||
$option->primary_key_name = 'document_srl';
|
||||
$option->content_key_name = 'content';
|
||||
$option->allow_fileupload = false; ///< 파일 업로드 기능을 제한
|
||||
$option->enable_autosave = true; ///< 자동 저장 기능을 활성화
|
||||
$option->enable_default_component = true; ///< 기본 에디터 컴포넌트의 활성화
|
||||
|
|
@ -157,6 +159,8 @@
|
|||
|
||||
// 에디터 모듈의 getEditor를 호출하여 세팅
|
||||
$oEditorModel = &getModel('editor');
|
||||
$option->primary_key_name = 'document_srl';
|
||||
$option->content_key_name = 'content';
|
||||
$option->allow_fileupload = $this->grant->fileupload;
|
||||
$option->enable_autosave = true;
|
||||
$option->enable_default_component = true;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
<!-- 댓글 입력 폼 -->
|
||||
|
||||
<!--@if($grant->write_comment && !$document->isLocked())-->
|
||||
{@ $document_srl = $document->document_srl }
|
||||
<!--#include("./comment_form.html")-->
|
||||
<!--@end-->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue