일부 브라우저 할인이벤트 팝업 미오픈 보완코드 추가
@5f87b0cea15d4e6cdbf0d45d6c089a9f7ef9c3cd
--- src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp
+++ src/main/webapp/WEB-INF/jsp/web/main/mainPage.jsp
... | ... | @@ -13,8 +13,6 @@ |
| 13 | 13 |
<script src="/publish/js/swiper.min.js"></script> |
| 14 | 14 |
|
| 15 | 15 |
<script type="text/javascript"> |
| 16 |
-var blineCode = "${blineCode}";
|
|
| 17 |
- |
|
| 18 | 16 |
$(document).ready(function() {
|
| 19 | 17 |
// http => https 로 이동 |
| 20 | 18 |
if(${Env eq 'prod'}){
|
... | ... | @@ -285,6 +283,12 @@ |
| 285 | 283 |
eventYn = true; |
| 286 | 284 |
</c:if> |
| 287 | 285 |
|
| 286 |
+ var blineCode = '${blineCode}';
|
|
| 287 |
+ blineCode = $.trim(blineCode); |
|
| 288 |
+ if (blineCode == null || blineCode == "" || blineCode == undefined) {
|
|
| 289 |
+ blineCode = "N"; |
|
| 290 |
+ } |
|
| 291 |
+ |
|
| 288 | 292 |
console.log("");
|
| 289 | 293 |
console.log("이벤트 팝업 호출 처리");
|
| 290 | 294 |
console.log("payCount : " + payCount);
|
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?