mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
글 수정 시 파일 삭제되는 문제 재 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6566 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4beeb3828f
commit
9cb8cfb04b
1 changed files with 3 additions and 2 deletions
|
|
@ -74,8 +74,9 @@
|
|||
Context::set('content_font', $option->content_font);
|
||||
Context::set('content_font_size', $option->content_font_size);
|
||||
|
||||
// 자동 저장 유무 옵션 설정
|
||||
// 자동 저장 유무 옵션 설정 글 수정시는 사용 안함
|
||||
if(!$option->enable_autosave) $enable_autosave = false;
|
||||
elseif(Context::get($option->primary_key_name)) $enable_autosave = false;
|
||||
else $enable_autosave = true;
|
||||
|
||||
// 기본 에디터 컴포넌트 사용 설정
|
||||
|
|
@ -106,7 +107,7 @@
|
|||
**/
|
||||
if($enable_autosave) {
|
||||
// 자동 저장된 데이터를 추출
|
||||
if(!Context::get($option->primary_key_name)) $saved_doc = $this->getSavedDoc($upload_target_srl);
|
||||
$saved_doc = $this->getSavedDoc($upload_target_srl);
|
||||
|
||||
// 자동 저장 데이터를 context setting
|
||||
Context::set('saved_doc', $saved_doc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue