Explorar o código

page 값 유무 확인

jsshin %!s(int64=5) %!d(string=hai) anos
pai
achega
c010e4ee69
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  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;
+	}
 }
 
 /**