From 8e535752d798b9ecfe4d8b6f864f1cd4f989a70e Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 일, 05 12월 2021 17:44:11 +0900 Subject: [PATCH] 이메일 수정 --- src/main/webapp/scripts/app/common/common.controller.js | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/scripts/app/common/common.controller.js b/src/main/webapp/scripts/app/common/common.controller.js index fd7f242..4216e9c 100644 --- a/src/main/webapp/scripts/app/common/common.controller.js +++ b/src/main/webapp/scripts/app/common/common.controller.js @@ -86,7 +86,7 @@ moveMenu("issues.list"); } } - moveMenu("issues.list"); + //moveMenu("issues.list"); //$rootScope.$broadcast("changeIssueListMenu", $rootScope.issueTypeMenu); if ($rootScope.user.lastIssueTypeId !== issueTypeId) { @@ -96,7 +96,7 @@ } function moveMenu(stateName) { - if ($state.current.name == stateName) { + if ($state.current.name === stateName) { $state.reload(); } else { $state.go(stateName); @@ -260,15 +260,19 @@ if (issueType.id === $rootScope.user.lastIssueTypeId) { selectIssueTypeId = issueType.id; $scope.fn.changeIssueListMenu(issueType.id, false); + $state.go('dashboards.dashboard'); } if (selectIssueTypeId == null) { $scope.fn.changeIssueListMenu($rootScope.workIssueTypes[0].id, false); + } }); - } else { - $state.go('dashboards.dashboard'); } + // ���돩蹂대뱶濡� 媛��뒗�뜲 �봽濡쒖젥�듃瑜� �깮�꽦�븯嫄곕굹 �닔�젙�빐�룄 嫄몃━�뒗 議곌굔�씠�떎. + // else { + // $state.go('dashboards.dashboard'); + // } } else { SweetAlert.error($filter("translate")("managementType.failedToIssueTypeList"), result.data.message.message); // "�씠�뒋 �쑀�삎 紐⑸줉 議고쉶 �떎�뙣" -- Gitblit v1.8.0