Index: arms/html/mapping/content-container.html
===================================================================
diff -u -r0dd71936a3dcda9dadc79721d95a9ae0bc63d6e8 -r251023a0dffa14a367b70103ba05c3406c277ba4
--- arms/html/mapping/content-container.html (.../content-container.html) (revision 0dd71936a3dcda9dadc79721d95a9ae0bc63d6e8)
+++ arms/html/mapping/content-container.html (.../content-container.html) (revision 251023a0dffa14a367b70103ba05c3406c277ba4)
@@ -425,6 +425,7 @@
id="popup_view_change_state_name"
name="popup_view_change_state_name"
class="form-control parsley-validated font13 darkBack"
+ disabled="disabled"
data-placement="top"
data-original-title="상태의 이름을 입력해주세요."
placeholder="Requirement State Name"
Index: arms/js/mapping.js
===================================================================
diff -u -r99d79636faf78b72a8e4bddc5e09505336326232 -r251023a0dffa14a367b70103ba05c3406c277ba4
--- arms/js/mapping.js (.../mapping.js) (revision 99d79636faf78b72a8e4bddc5e09505336326232)
+++ arms/js/mapping.js (.../mapping.js) (revision 251023a0dffa14a367b70103ba05c3406c277ba4)
@@ -935,7 +935,7 @@
return false;
}
- remove_arms_state(state_id_before_change, state_name)
+ remove_arms_state(state_id_before_change, state_name, state_id_to_change)
.then((result) => {
console.log(result);
$("#close_modal_popup").trigger("click");
@@ -1006,15 +1006,16 @@
});
}
-function remove_arms_state(state_c_id, state_name) {
+function remove_arms_state(state_c_id, state_name, state_id_to_change) {
return new Promise((resolve, reject) => {
let data = {
c_id : state_c_id,
+ stateIdToChange : state_id_to_change
};
$.ajax({
- url: "/auth-user/api/arms/reqState/removeNode.do",
+ url: "/auth-user/api/arms/reqState/removeNodeAndChangeState.do",
type: "DELETE",
data: data,
statusCode: {