- 같은 ID 로 DEL -> INSERT 시 충돌대응
- API 20건 조회 -> 전체조회 - API LIST 저장시 요청/완료 알 수 있도록 버튼 제어
This commit is contained in:
@@ -151,6 +151,10 @@ function saveApiGridData(scopeId, returnUrl) {
|
||||
type : "POST",
|
||||
url:mapping_url,
|
||||
data: postData,
|
||||
beforeSend: function() {
|
||||
$("[id^='btn_']").prop("disabled", true);
|
||||
$("#btn_modify").text("처리중 . . . . .");
|
||||
},
|
||||
success:function(args){
|
||||
alert("저장 되었습니다.");
|
||||
|
||||
@@ -158,7 +162,11 @@ function saveApiGridData(scopeId, returnUrl) {
|
||||
},
|
||||
error:function(e){
|
||||
alert(e.responseText);
|
||||
}
|
||||
},
|
||||
complete: function() {
|
||||
$("[id^='btn_']").prop("disabled", false);
|
||||
$("#btn_modify").text("수정");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user