첨부파일 사라지는 문제, 수정시 글이 복사 되는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6505 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-06-09 13:13:31 +00:00
parent c89a11464b
commit 4307df301e
2 changed files with 2 additions and 5 deletions

View file

@ -18,7 +18,7 @@
**/ **/
function procEditorSaveDoc() { function procEditorSaveDoc() {
$this->deleteSavedDoc(); $this->deleteSavedDoc(true);
$args->document_srl = Context::get('document_srl'); $args->document_srl = Context::get('document_srl');
$args->content = Context::get('content'); $args->content = Context::get('content');
@ -255,7 +255,7 @@
* @brief 게시글의 입력/수정이 일어났을 경우 자동 저장문서를 제거하는 trigger * @brief 게시글의 입력/수정이 일어났을 경우 자동 저장문서를 제거하는 trigger
**/ **/
function triggerDeleteSavedDoc(&$obj) { function triggerDeleteSavedDoc(&$obj) {
$this->deleteSavedDoc(); $this->deleteSavedDoc(true);
return new Object(); return new Object();
} }

View file

@ -78,9 +78,6 @@ function editorStart_xe(editor_sequence, primary_key, content_key, editor_height
} }
xe.Editors[editor_sequence] = oEditor; xe.Editors[editor_sequence] = oEditor;
var response_tags = new Array("error","message","title","content","document_srl");
exec_xml('editor',"loadSaveDoc", null, function (a,b,c) { editorRelKeys[editor_sequence]["primary"].value = a['document_srl']; }, response_tags, null);
// register plugins // register plugins
oEditor.registerPlugin(new xe.CorePlugin(null)); oEditor.registerPlugin(new xe.CorePlugin(null));