git-svn-id: http://xe-core.googlecode.com/svn/trunk@738 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-28 03:23:41 +00:00
parent 16f05ba552
commit 32a9c0d347
2 changed files with 2 additions and 2 deletions

View file

@ -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');

View file

@ -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);