mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
#489 방명록 스킨에서 '임시저장/불러오기'기능이 작동하도록 고침
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4345 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c31b149289
commit
47580801dc
2 changed files with 9 additions and 1 deletions
|
|
@ -536,6 +536,7 @@ function doDocumentSave(obj) {
|
|||
var oFilter = new XmlJsFilter(obj.form, "member", "procMemberSaveDocument", completeDocumentSave);
|
||||
oFilter.addResponseItem("error");
|
||||
oFilter.addResponseItem("message");
|
||||
oFilter.addResponseItem("document_srl");
|
||||
oFilter.proc();
|
||||
|
||||
editorRelKeys[editor_sequence]['content'].value = prev_content;
|
||||
|
|
@ -543,6 +544,7 @@ function doDocumentSave(obj) {
|
|||
}
|
||||
|
||||
function completeDocumentSave(ret_obj) {
|
||||
xGetElementsByAttribute('input', 'name', 'document_srl')[0].value = ret_obj['document_srl'];
|
||||
alert(ret_obj['message']);
|
||||
}
|
||||
|
||||
|
|
@ -562,7 +564,7 @@ function doDocumentSelect(document_srl) {
|
|||
}
|
||||
|
||||
// 게시글을 가져와서 등록하기
|
||||
opener.location.href = opener.current_url.setQuery('document_srl', document_srl);
|
||||
opener.location.href = opener.current_url.setQuery('document_srl', document_srl).setQuery('act', 'dispBoardWrite');
|
||||
window.close();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue