Index: arms/js/reqStatus.js
===================================================================
diff -u -rfad143484c6c7e58bfa0940679b14136519ec3b0 -re17944307a6001abf43ab22bf9fd6d77b8a3d2a0
--- arms/js/reqStatus.js (.../reqStatus.js) (revision fad143484c6c7e58bfa0940679b14136519ec3b0)
+++ arms/js/reqStatus.js (.../reqStatus.js) (revision e17944307a6001abf43ab22bf9fd6d77b8a3d2a0)
@@ -432,7 +432,10 @@
} else {
var _render =
'
' + data +
- '"+
+ ''+
"
";
return _render;
}
@@ -601,18 +604,7 @@
// 데이터 테이블 구성 이후 꼭 구현해야 할 메소드 : 열 클릭시 이벤트
function dataTableClick(tempDataTable, selectedData) {
- console.log(selectedData);
selectedIssue = selectedData;
-
- if(selectedIssueKey !== "") {
- var endPointUrl2 = "/T_ARMS_REQSTATUS_" + $("#selected_pdService").val()
- + "/getIssueAndSubLinks.do?serverId="+selectedIssue.c_jira_server_link
- + "&issueKey="+selectedIssue.c_issue_key
- + "&versionId="+selectedIssue.c_pds_version_link;
- console.log("endPointUrl2 ====> " + endPointUrl2);
- getLinkedIssueAndSubtask("not Use this parameter",endPointUrl2); // 데이터테이블 그리기
-
- }
}
// 데이터 테이블 데이터 렌더링 이후 콜백 함수.
@@ -659,12 +651,18 @@
reqStatusDataTable.button(".buttons-pdf").trigger();
});
-function click_issue_key(name) {
+function click_issue_key(c_jira_server_link, c_issue_key, c_pds_version_link) {
selectedIssueKey = "";
console.log("clicked_issue_name ==> " + name);
if (name !== "" || name !== undefined) {
selectedIssueKey = name;
}
+
+ var endPointUrl = "/T_ARMS_REQSTATUS_" + $("#selected_pdService").val()
+ + "/getIssueAndSubLinks.do?serverId=" + c_jira_server_link
+ + "&issueKey=" + c_issue_key
+ + "&versionId=" + c_pds_version_link;
+ getLinkedIssueAndSubtask("not Use this parameter",endPointUrl); // 데이터테이블 그리기
}
function getLinkedIssueAndSubtask(notUse, endPointUrl) {