autosave document. loading attached files

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6535 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-06-13 08:17:49 +00:00
parent 3fe1a50344
commit bd685e0198
6 changed files with 30 additions and 16 deletions

View file

@ -236,18 +236,12 @@
/**
* @brief 자동 저장글 로드
* @brief 자동 저장글 Srl 로드 (자기글인지 확인)
**/
function loadSaveDoc() {
$editor_sequence = Context::get('editor_sequence');
function triggerSrlSetting(&$obj) {
$oEditorModel = &getModel('editor');
$saved_doc = $oEditorModel->getSavedDoc(null);
$vars = $this->getVariables();
$this->add("title", $saved_doc->title);
$this->add("content", $saved_doc->content);
$this->add("document_srl", $saved_doc->document_srl);
if($obj->uploadTargetSrl == $saved_doc->document_srl) Context::set("getIsPermitted",$saved_doc->document_srl); return $output;
}