OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-12-28 a75bcc7c2b0fc98bd3a8abc100a4ad4ec11b9c26
src/main/webapp/scripts/app/common/common.controller.js
@@ -58,16 +58,22 @@
                    //}
                });
                $rootScope.$on("$stateChangeStart", function (event, toState, toStateParams) {
                    var keyWord = $rootScope.getCookie("searchKeyword");
                    if (keyWord == null || keyWord === '') {
                        $scope.vm.searchAll.keyWord = "";
                    }
                });
                // 메인 상단 검색
                function searchAll() {
                    if ($state.current.name !== "issues.list") {
                        // $state.go("issues.list");
                        var myUrl = window.location.href.split('#/');
                        location.href = myUrl[0] + "#/issues/issueList?keyWord=" + $scope.vm.searchAll.keyWord;
                    if ($rootScope.isDefined($scope.vm.searchAll.keyWord)) {
                        $rootScope.setCookie("searchKeyword", $scope.vm.searchAll.keyWord, 60000);
                        moveMenu("issues.list");
                    } else {
                        $rootScope.$broadcast("searchIssueList", {keyWord: $scope.vm.searchAll.keyWord});
                        SweetAlert.warning($filter("translate")("common.alertSystem"), $filter("translate")("issue.pleaseEnterIssueKeyWord"));
                    }
                }
                function setLastIssueType() {