فهرست منبع

기획전 공유하기 수정

yujung 4 سال پیش
والد
کامیت
2c3a126902
2فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 3 3
      src/main/webapp/WEB-INF/views/web/planning/PlanningDetailFormWeb.html
  2. 3 3
      src/main/webapp/ux/style24_link.js

+ 3 - 3
src/main/webapp/WEB-INF/views/web/planning/PlanningDetailFormWeb.html

@@ -44,15 +44,15 @@
 									<div id="layerShare" class="setShare open">
 										<span>
 											<button type="button" class="kk"
-												th:attr="onclick=|cfnSendToKakao('${stylelUrl+'/planning/detail/form?planSq='+planInfo.planSq}', '${planInfo.planNm}', '${planView+ '/'+planInfo.mainPimg}');|">
+												th:attr="onclick=|cfnSendToKakao('${frontUrl+'/planning/detail/form?planSq='+planInfo.planSq}', '${planInfo.planNm}', '${planView+ '/'+planInfo.mainPimg}');|">
 												<span>카카오톡</span>
 											</button>
 											<button type="button" class="fb"
-												th:attr="onclick=|sendSns('facebook', '${stylelUrl+'/planning/detail/form?planSq='+planInfo.planSq}', '${planInfo.planNm}', '', '');|">
+												th:attr="onclick=|sendSns('facebook', '${frontUrl+'/planning/detail/form?planSq='+planInfo.planSq}', '${planInfo.planNm}', '', '');|">
 												<span>페이스북</span>
 											</button>
 											<button type="button" class="tw" 
-												th:attr="onclick=|sendSns('twitter', '${stylelUrl+'/planning/detail/form?planSq='+planInfo.planSq}', '${planInfo.planNm+ '#style24몰'}', '', '');|">
+												th:attr="onclick=|sendSns('twitter', '${frontUrl+'/planning/detail/form?planSq='+planInfo.planSq}', '${planInfo.planNm+ '#style24몰'}', '', '');|">
 												<span>트위터</span>
 											</button>
 											<button type="button" class="url btn_copy">

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

@@ -1575,9 +1575,9 @@ function sendSns(sns, url, txt, media, description)
 	var _media = encodeURIComponent(media);
 	var _description = encodeURIComponent(description);
 	
-	_url = location.protocol + _url.replaceAll('#enp_mbris','') + '&share=Y'
-//	_url = location.protocol + encodeURIComponent(url);
-	
+	// _url = location.protocol + _url.replaceAll('#enp_mbris','') + '&share=Y'
+	_url = location.protocol + encodeURIComponent(url);
+
 	switch(sns)
 	{
 		case 'facebook':