From a11dc4e377730f1ce08bc7210366c21e2833bf05 Mon Sep 17 00:00:00 2001 From: jhjang <jhjang@maprex.co.kr> Date: 월, 28 2월 2022 18:38:29 +0900 Subject: [PATCH] 1.0.5버전 --- src/main/webapp/scripts/app/issue/issueModify.controller.js | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/scripts/app/issue/issueModify.controller.js b/src/main/webapp/scripts/app/issue/issueModify.controller.js index 8bf3780..39d20af 100644 --- a/src/main/webapp/scripts/app/issue/issueModify.controller.js +++ b/src/main/webapp/scripts/app/issue/issueModify.controller.js @@ -170,7 +170,8 @@ severities : [], // 以묒슂�룄 �젙蹂� fileTableConfigs : [], // �뙆�씪 �뾽濡쒕뱶 �젙蹂� �뀒�씠釉� inheritPartners : parameter.inheritPartners, - downTotalCount : parameter.downTotalCount + downTotalCount : parameter.downTotalCount, + usePartner : parameter.usePartner, }; // �뿰愿� �씪媛� 愿��젴 @@ -577,7 +578,6 @@ function formSubmit() { $rootScope.spinner = true; - let inheritYn = false; var content = { @@ -844,10 +844,12 @@ })() }; - if ($scope.vm.inheritPartners && $scope.vm.downTotalCount > 0) { + if ($rootScope.isDefined($scope.vm.usePartner) && $scope.vm.usePartner.length > 0 + && $rootScope.isDefined($scope.vm.inheritPartners) && $scope.vm.inheritPartners + && $rootScope.isDefined($scope.vm.downTotalCount) && $scope.vm.downTotalCount > 0) { SweetAlert.swal({ - title : $filter("translate")("issue.modifyDownIssue"), // �븯�쐞 �씠�뒋 蹂�寃� - text : $filter("translate")("issue.wantToInheritPartnersOfParentIssue"), // �긽�쐞�씠�뒋�쓽 �뙆�듃�꼫 �젙蹂�(�뾽泥�/ISP/�샇�뒪�똿)瑜� �쟻�슜�떆�궎寃좎뒿�땲源�? + title : $filter("translate")("issue.modifyIssues"), // �씠�뒋 蹂�寃� + text : $filter("translate")("issue.wantToInheritPartnersOfIssue"), // �쁽�옱 �씠�뒋�쓽 �뙆�듃�꼫 �젙蹂�(�뾽泥�/ISP/�샇�뒪�똿)瑜� 紐⑤뱺 �븯�쐞�씠�뒋�뿉 �씪愿� �쟻�슜�떆�궎寃좎뒿�땲源�? type : "warning", showCancelButton : true, confirmButtonColor : "#DD6B55", @@ -859,6 +861,7 @@ function (isConfirm) { if (isConfirm) { inheritYn = true; + content.inheritYn = true; } Issue.modify({ -- Gitblit v1.8.0