From ea7b01bdd943fcee746b58ae125912d2879d1070 Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 화, 28 12월 2021 17:14:59 +0900 Subject: [PATCH] 간헐적으로 스크롤바 사라지는 문제 수정 summernote 창에서 이동시 스크롤바 hidden 변경 --- src/main/webapp/custom_components/js-workflow/js-workflow.directive.js | 35 +++++++++++++++++++---------------- 1 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js b/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js index a227475..6c99bba 100644 --- a/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js +++ b/src/main/webapp/custom_components/js-workflow/js-workflow.directive.js @@ -669,24 +669,27 @@ if ($scope.vm.activeTarget != null) { var targetIssueStatus = $scope.vm.activeTarget.issueStatus; - var myIssueStatus = null; - angular.forEach($scope.vm.issueStatusVos, function (issueStatusVo) { - if (issueStatusVo.id === targetIssueStatus.id) { - myIssueStatus = issueStatusVo; - } - }); + // null 泥댄겕 + if (targetIssueStatus != null) { + var myIssueStatus = null; + angular.forEach($scope.vm.issueStatusVos, function (issueStatusVo) { + if (issueStatusVo.id === targetIssueStatus.id) { + myIssueStatus = issueStatusVo; + } + }); - if (myIssueStatus != null) { - if ($scope.vm.departments != null) { - var workflowDepartments = []; + if (myIssueStatus != null) { + if ($scope.vm.departments != null) { + var workflowDepartments = []; - angular.forEach($scope.vm.departments, function (department) { - var workflowDepartment = { - departmentVo : department - } - workflowDepartments.push(workflowDepartment); - }); - myIssueStatus.workflowDepartmentVos = workflowDepartments; + angular.forEach($scope.vm.departments, function (department) { + var workflowDepartment = { + departmentVo : department + } + workflowDepartments.push(workflowDepartment); + }); + myIssueStatus.workflowDepartmentVos = workflowDepartments; + } } } } -- Gitblit v1.8.0