From e50b78db2f5e74f88b7e5c736f1fca4ca3cbe29b Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 목, 25 11월 2021 10:57:04 +0900
Subject: [PATCH] - 워크플로우 담당부서 설정 기능 추가

---
 src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js b/src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js
index 8223853..8182c40 100644
--- a/src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js
+++ b/src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js
@@ -100,7 +100,7 @@
                             var target = e.target.parentElement;
                             var parentFound = false;
 
-                            while (angular.isDefined(target) && target !== null && !parentFound) {
+                            while (angular.isDefined(target) && target !== null && !parentFound && target.className !== null) {
                                 if (_.contains(target.className.split(' '), 'multiselect-parent') && !parentFound) {
                                     if (target === $dropdownTrigger) {
                                         parentFound = true;

--
Gitblit v1.8.0