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/trunk@1577 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
703f434bb5
commit
10a947d9f5
3 changed files with 15 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
<action name="dispEditorAdminSetupComponent" type="view" standalone="true" />
|
||||
|
||||
<action name="procEditorSaveDoc" type="controller" standalone="true" />
|
||||
<action name="procEditorRemoveSavedDoc" type="controller" standalone="true" />
|
||||
<action name="procEditorCall" type="controller" standalone="true" />
|
||||
|
||||
<action name="procEditorAdminEnableComponent" type="controller" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -40,6 +40,14 @@
|
|||
$this->setMessage('msg_auto_saved');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 자동저장된 문서 삭제
|
||||
**/
|
||||
function procEditorRemoveSavedDoc() {
|
||||
$oEditorController = &getController('editor');
|
||||
$oEditorController->deleteSavedDoc();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 컴포넌트에서 ajax요청시 해당 컴포넌트의 method를 실행
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@ function editorStart(upload_target_srl, resizable, height) {
|
|||
if(confirm(fo_obj._saved_doc_message.value)) {
|
||||
fo_obj.title.value = saved_title;
|
||||
fo_obj.content.value = saved_content;
|
||||
} else {
|
||||
editorRemoveSavedDoc();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -168,6 +170,10 @@ function _editorAutoSaved(ret_obj) {
|
|||
return null;
|
||||
}
|
||||
|
||||
function editorRemoveSavedDoc() {
|
||||
exec_xml("editor","procEditorRemoveSavedDoc");
|
||||
}
|
||||
|
||||
// 에디터의 전체 내용 return
|
||||
function editorGetContent(upload_target_srl) {
|
||||
var iframe_obj = editorGetIFrame(upload_target_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue