|
|
@@ -2000,6 +2000,38 @@
|
|
|
},
|
|
|
});
|
|
|
|
|
|
+ }
|
|
|
+
|
|
|
+ // 상품문의 레이어 호출후 콜백에서 호출하므로 여기에 있어야함
|
|
|
+ var fnQnaLayerCollBack = function(){
|
|
|
+
|
|
|
+ // 상품평정보
|
|
|
+ var params = new Object();
|
|
|
+ let goodsCd = [[${goodsInfo.goodsCd}]];
|
|
|
+ params.goodsCd = goodsCd;
|
|
|
+
|
|
|
+ //gagajf.ajaxSubmit("/goods/detail/qna/frame", "html", "goodsDealQna", params);
|
|
|
+
|
|
|
+ $.ajax( {
|
|
|
+ type : "POST",
|
|
|
+ url : '/goods/detail/qna/frame',
|
|
|
+ data : JSON.stringify(params),
|
|
|
+ dataType : 'html',
|
|
|
+ beforeSend : function(xhr, settings) {
|
|
|
+ xhr.setRequestHeader("AJAX" , "true");
|
|
|
+ xhr.setRequestHeader('Accept' , 'application/json');
|
|
|
+ xhr.setRequestHeader('Content-Type' , 'application/json');
|
|
|
+ },
|
|
|
+ success : function(result) {
|
|
|
+ if (result != null) {
|
|
|
+ $("#goodsDealQna").css("display", "block");
|
|
|
+ $("#goodsDealQna").html(result);
|
|
|
+ fnGoodsQnaList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
$(document).on('click','.option_box [class^="opt_"] .select_custom .select',function(e){
|