mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1302 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
071690e444
commit
e92ef96680
1 changed files with 3 additions and 3 deletions
|
|
@ -133,7 +133,7 @@ function editorEnableAutoSave(fo_obj, upload_target_srl) {
|
||||||
var title = fo_obj.title.value;
|
var title = fo_obj.title.value;
|
||||||
var content = fo_obj.content.value;
|
var content = fo_obj.content.value;
|
||||||
_autoSaveObj = {"fo_obj":fo_obj, "upload_target_srl":upload_target_srl, "title":title, "content":content};
|
_autoSaveObj = {"fo_obj":fo_obj, "upload_target_srl":upload_target_srl, "title":title, "content":content};
|
||||||
setTimeout(_editorAutoSave, 30000);
|
setTimeout(_editorAutoSave, 15000);
|
||||||
}
|
}
|
||||||
|
|
||||||
function _editorAutoSave() {
|
function _editorAutoSave() {
|
||||||
|
|
@ -154,7 +154,7 @@ function _editorAutoSave() {
|
||||||
|
|
||||||
xTop("editor_autosaved_message", xScrollTop()+10);
|
xTop("editor_autosaved_message", xScrollTop()+10);
|
||||||
xGetElementById("editor_autosaved_message").style.display = "block";
|
xGetElementById("editor_autosaved_message").style.display = "block";
|
||||||
setTimeout(function() {xGetElementById("editor_autosaved_message").style.display = "none";}, 3000);
|
setTimeout(function() {xGetElementById("editor_autosaved_message").style.display = "none";}, 15000);
|
||||||
show_waiting_message = false;
|
show_waiting_message = false;
|
||||||
exec_xml("editor","procEditorSaveDoc", params, _editorAutoSaved);
|
exec_xml("editor","procEditorSaveDoc", params, _editorAutoSaved);
|
||||||
show_waiting_message = true;
|
show_waiting_message = true;
|
||||||
|
|
@ -162,7 +162,7 @@ function _editorAutoSave() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(_editorAutoSave, 3000);
|
setTimeout(_editorAutoSave, 15000);
|
||||||
}
|
}
|
||||||
|
|
||||||
function _editorAutoSaved(ret_obj) {
|
function _editorAutoSaved(ret_obj) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue