--- src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
+++ src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
... | ... | @@ -5,7 +5,33 @@ |
| 5 | 5 |
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
| 6 | 6 |
<%@ page import="egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper" %> |
| 7 | 7 |
<%@ page import="itn.com.cmm.LoginVO" %> |
| 8 |
- |
|
| 8 |
+<script type="text/javascript"> |
|
| 9 |
+ if ( |
|
| 10 |
+ typeof Promise !== "undefined" && |
|
| 11 |
+ typeof Promise.allSettled !== "function" |
|
| 12 |
+ ) {
|
|
| 13 |
+ Promise.allSettled = function (promises) {
|
|
| 14 |
+ return Promise.all( |
|
| 15 |
+ Array.prototype.map.call(promises, function (promise) {
|
|
| 16 |
+ return Promise.resolve(promise).then( |
|
| 17 |
+ function (value) {
|
|
| 18 |
+ return {
|
|
| 19 |
+ status: "fulfilled", |
|
| 20 |
+ value: value |
|
| 21 |
+ }; |
|
| 22 |
+ }, |
|
| 23 |
+ function (reason) {
|
|
| 24 |
+ return {
|
|
| 25 |
+ status: "rejected", |
|
| 26 |
+ reason: reason |
|
| 27 |
+ }; |
|
| 28 |
+ } |
|
| 29 |
+ ); |
|
| 30 |
+ }) |
|
| 31 |
+ ); |
|
| 32 |
+ }; |
|
| 33 |
+ } |
|
| 34 |
+</script> |
|
| 9 | 35 |
<!-- 구글 공통 스크립트 : Global site tag (gtag.js) - Google Ads: 10967556094 --> |
| 10 | 36 |
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-10967556094"></script> |
| 11 | 37 |
<script> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?