upload_target_srl 이 바뀔 경우 다시 자동 저장. ( IE에서 자동 저장된 문서에서 파일 첨부시 null로 target을 설정해서 오류가 난다. 의 보완2 )

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6844 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-10-11 03:53:50 +00:00
parent 7020d179e5
commit 39f5c53dbd

View file

@ -251,6 +251,13 @@ function completeReloadFileList(ret_obj, response_tags, settings) {
}
if(upload_target_srl && upload_target_srl != 0) {
// 자동 저장된 문서와 target_srl이 다르게 될 경우 다시 자동 저장.
if(editorRelKeys[editor_sequence]["primary"].value != upload_target_srl) {
editorRelKeys[editor_sequence]["primary"].value = upload_target_srl;
uploadAutosaveChecker = true;
_editorAutoSave(true);
}
editorRelKeys[editor_sequence]["primary"].value = upload_target_srl;
settings["uploadTargetSrl"] = upload_target_srl;
}