From 93c9c8e754679c0b1e7afe10fb6ca827b52114d2 Mon Sep 17 00:00:00 2001
From: wyu <kknd09321@nate.com>
Date: 목, 06 1월 2022 10:21:39 +0900
Subject: [PATCH] 일반 이메일 누락 된 Form 추가

---
 src/main/webapp/scripts/app/common/common.controller.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/scripts/app/common/common.controller.js b/src/main/webapp/scripts/app/common/common.controller.js
index 8a4e5bb..3ca4ae2 100644
--- a/src/main/webapp/scripts/app/common/common.controller.js
+++ b/src/main/webapp/scripts/app/common/common.controller.js
@@ -68,8 +68,12 @@
 
                 // 硫붿씤 �긽�떒 寃��깋
                 function searchAll() {
-                    $rootScope.setCookie("searchKeyword", $scope.vm.searchAll.keyWord, 60000);
-                    moveMenu("issues.list");
+                    if ($rootScope.isDefined($scope.vm.searchAll.keyWord)) {
+                        $rootScope.setCookie("searchKeyword", $scope.vm.searchAll.keyWord, 60000);
+                        moveMenu("issues.list");
+                    } else {
+                        SweetAlert.warning($filter("translate")("common.alertSystem"), $filter("translate")("issue.pleaseEnterIssueKeyWord"));
+                    }
                 }
 
                 function setLastIssueType() {

--
Gitblit v1.8.0