mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
자동저장기능을 10초에서 50초로 연장
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6403 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
97e68f7dbe
commit
d0ffe5b351
1 changed files with 4 additions and 4 deletions
|
|
@ -31,12 +31,12 @@ function editorFocus(editor_sequence) {
|
|||
/**
|
||||
* 자동 저장 기능
|
||||
**/
|
||||
// 자동 저장 활성화 시키는 함수 (10초마다 자동저장)
|
||||
// 자동 저장 활성화 시키는 함수 (50초마다 자동저장)
|
||||
function editorEnableAutoSave(fo_obj, editor_sequence) {
|
||||
var title = fo_obj.title.value;
|
||||
var content = editorRelKeys[editor_sequence]['content'].value;
|
||||
editorAutoSaveObj = {"fo_obj":fo_obj, "editor_sequence":editor_sequence, "title":title, "content":content, locked:false};
|
||||
setTimeout(_editorAutoSave, 10000);
|
||||
setTimeout(_editorAutoSave, 50000);
|
||||
}
|
||||
|
||||
// ajax를 이용하여 editor.procEditorSaveDoc 호출하여 자동 저장시킴
|
||||
|
|
@ -80,8 +80,8 @@ function _editorAutoSave() {
|
|||
show_waiting_message = true;
|
||||
}
|
||||
|
||||
// 10초마다 동기화를 시킴
|
||||
setTimeout(_editorAutoSave, 10000);
|
||||
// 50초마다 동기화를 시킴
|
||||
setTimeout(_editorAutoSave, 50000);
|
||||
}
|
||||
|
||||
// 자동저장된 모든 메세지를 삭제하는 루틴
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue