Compare commits
No commits in common. "0d676856c80bd407c484c86b226a7c1ee6f1bac3" and "4bcdd46db8ef7c5d5bbf547550b63b08d980f284" have entirely different histories.
0d676856c8
...
4bcdd46db8
|
|
@ -11,10 +11,5 @@ $(document).on('click', '.planTr', function (){
|
||||||
})
|
})
|
||||||
|
|
||||||
$(document).on('click', '#saveBtn', function (){
|
$(document).on('click', '#saveBtn', function (){
|
||||||
savePublicBoard("noticeEditForm", "PLB001")
|
savePublicBoard("noticeEditForm")
|
||||||
})
|
|
||||||
|
|
||||||
$(document).on('click', '#editBtn', function (){
|
|
||||||
$("#viewModal").modal('hide')
|
|
||||||
getEditModal($("#viewModalPublicKey").val(), "PLB001")
|
|
||||||
})
|
})
|
||||||
|
|
@ -64,7 +64,6 @@ $(document).on('click', '.deleteCommentBtn', function (){
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
function getEditModal(publicKey, publicType){
|
function getEditModal(publicKey, publicType){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/publicBoard/editModal',
|
url: '/publicBoard/editModal',
|
||||||
|
|
@ -122,7 +121,7 @@ function getViewModal(publicKey, publicType){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function savePublicBoard(formId, publicType){
|
function savePublicBoard(formId){
|
||||||
if(contentCheck(formId)){
|
if(contentCheck(formId)){
|
||||||
if(confirm("저장하시겠습니까?")){
|
if(confirm("저장하시겠습니까?")){
|
||||||
contentFade("in");
|
contentFade("in");
|
||||||
|
|
@ -144,7 +143,7 @@ function savePublicBoard(formId, publicType){
|
||||||
alert("저장되었습니다.");
|
alert("저장되었습니다.");
|
||||||
contentFade("out");
|
contentFade("out");
|
||||||
$("#editModal").modal('hide');
|
$("#editModal").modal('hide');
|
||||||
getViewModal(result, publicType);
|
getViewModal(result, 'PLB001');
|
||||||
},
|
},
|
||||||
error : function(xhr, status) {
|
error : function(xhr, status) {
|
||||||
alert("저장에 실패하였습니다.")
|
alert("저장에 실패하였습니다.")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue