From 32a9c0d3478a7085b3348b620d1561338f48b3d4 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 28 Mar 2007 03:23:41 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@738 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/board/board.view.php | 2 +- modules/editor/editor.view.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 290d59016..00dd99334 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -189,7 +189,7 @@ // 에디터 모듈의 getEditor를 호출하여 세팅 $oEditorView = &getView('editor'); - $editor = $oEditorView->getEditor($document_srl, $this->grant->fileupload); + $editor = $oEditorView->getEditor($document_srl, $this->grant->fileupload, true); Context::set('editor', $editor); $this->setTemplateFile('write_form'); diff --git a/modules/editor/editor.view.php b/modules/editor/editor.view.php index 5cc2676df..1fde00403 100644 --- a/modules/editor/editor.view.php +++ b/modules/editor/editor.view.php @@ -62,7 +62,7 @@ /** * @brief 에디터를 return **/ - function getEditor($upload_target_srl, $allow_fileupload = false) { + function getEditor($upload_target_srl, $allow_fileupload = false, $enableAutoSave = false) { // 업로드를 위한 변수 설정 Context::set('upload_target_srl', $upload_target_srl); Context::set('allow_fileupload', $allow_fileupload);