Kaynağa Gözat

page 값 유무 확인

jsshin 5 yıl önce
ebeveyn
işleme
c010e4ee69
1 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 5 3
      src/main/webapp/ux/style24_link.js

+ 5 - 3
src/main/webapp/ux/style24_link.js

@@ -135,9 +135,11 @@ const _PAGE_LOOKBOOK_DETAIL = _frontUrl + "/display/lookbook/detail/form";		// 
  * @since  : 2020/02/21
  */
 var cfnGoToPage = function(page, ithrCd) {
-	var params = page;
-	if (ithrCd) params += "&ithrCd=" + ithrCd;
-	document.location.href = params;
+	if (!gagajf.isNull(page)) {
+		var params = page;
+		if (ithrCd) params += "&ithrCd=" + ithrCd;
+		document.location.href = params;
+	}
 }
 
 /**