Index: arms/js/pdService.js =================================================================== diff -u -r1d17475fe7f04f07c0c3ed7076f30c7291b66641 -r7f8e0cb2e035213f81e25b104527b2ba256033e2 --- arms/js/pdService.js (.../pdService.js) (revision 1d17475fe7f04f07c0c3ed7076f30c7291b66641) +++ arms/js/pdService.js (.../pdService.js) (revision 7f8e0cb2e035213f81e25b104527b2ba256033e2) @@ -172,6 +172,15 @@ $("#modal_popup_id").click(function () { console.log("modal_popup_id clicked"); var height = $(document).height() - 600; + + //모달 초기화 + $("#my_modal2").on("hidden.bs.modal", function (e) { + $(this).find('form')[0].reset(); + $("#popup_editview_pdservice_owner").val(null).trigger("change"); + $("#popup_editview_pdservice_reviewers").val(null).trigger("change"); + CKEDITOR.instances.modal_editor.setData("
제품(서비스)의 기획서 및 Project Charter 의 내용을 기록합니다.
"); //에디터 초기화 + }); + $(".modal-body") .find(".cke_contents:eq(0)") .css("height", height + "px"); @@ -186,6 +195,7 @@ // 데이터 셋팅 var editorData = CKEDITOR.instances.input_pdservice_editor.getData(); + console.log(editorData); CKEDITOR.instances.extend_modal_editor.setData(editorData); CKEDITOR.instances.extend_modal_editor.setReadOnly(false);