mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
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:
parent
3fe1a50344
commit
bd685e0198
6 changed files with 30 additions and 16 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue