#18641767 Firefox에서 자동저장이 한번만 실행되는 버그 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7238 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-01-25 02:37:00 +00:00
parent 33b755c4a6
commit 2576c19133

View file

@ -38,7 +38,7 @@ 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, 50000);
setTimeout('_editorAutoSave()', 3000);
}
// ajax를 이용하여 editor.procEditorSaveDoc 호출하여 자동 저장시킴 exe는 강제 코드
@ -84,7 +84,7 @@ function _editorAutoSave(exe) {
}
// 50초마다 동기화를 시킴 강제 실행은 제외
if(!exe) setTimeout(_editorAutoSave, 50000);
if(!exe) setTimeout('_editorAutoSave()', 50000);
}
// 자동저장된 모든 메세지를 삭제하는 루틴