mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
_editorAutoSave 함수 수정 : jQuery 사용하도록 코드 수정, 자동 저장 메시지 2초후 사라지도록 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6021 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4c39cdfcc6
commit
4063222866
1 changed files with 396 additions and 396 deletions
|
|
@ -65,12 +65,12 @@ function _editorAutoSave() {
|
|||
editorAutoSaveObj.title = title;
|
||||
editorAutoSaveObj.content = content;
|
||||
|
||||
var obj = xGetElementById("editor_autosaved_message_"+editor_sequence);
|
||||
obj.style.display = 'block';
|
||||
var oDate = new Date();
|
||||
html = oDate.getHours()+':'+oDate.getMinutes()+' '+auto_saved_msg;
|
||||
xInnerHtml(obj, html);
|
||||
obj.style.display = "block";
|
||||
var obj = jQuery("#editor_autosaved_message_"+editor_sequence);
|
||||
var oDate = new Date();
|
||||
|
||||
// 메시지 만들어서 보여줌
|
||||
obj.text(oDate.getHours()+':'+oDate.getMinutes()+' '+auto_saved_msg).show(300);
|
||||
setTimeout(function(){obj.hide(300)}, 2000);
|
||||
|
||||
// 현재 자동저장중임을 설정
|
||||
editorAutoSaveObj.locked = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue