|
|
@@ -44,7 +44,7 @@
|
|
|
</div>
|
|
|
<div class="ui_foot">
|
|
|
<div class="ui_row">
|
|
|
- <ul class="pageNav" id="pageNav">
|
|
|
+ <ul class="pageNav" id="goodsQnaPageNav">
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -77,7 +77,7 @@
|
|
|
$('#goodsQnaForm input[name="secretYn"]').val('N');
|
|
|
}
|
|
|
// Initialize a pagination
|
|
|
- gagaPaging.init('goodsQnaForm', fnGoodsQnaListCallback, 'pageNav', 20);
|
|
|
+ gagaPaging.init('goodsQnaForm', fnGoodsQnaListCallback, 'goodsQnaPageNav', 20);
|
|
|
|
|
|
// Load data
|
|
|
gagaPaging.load(1);
|
|
|
@@ -136,14 +136,22 @@
|
|
|
tag += '</li>\n';
|
|
|
|
|
|
$('#ulGoodsQna').append(tag);
|
|
|
+ $('#goodsQnaForm').find('.ui_foot').show();
|
|
|
});
|
|
|
} else {
|
|
|
$('#goodsQnaForm').find('.nodata').show();
|
|
|
$('#goodsQnaForm').find('.ui_foot').hide();
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// Create pagination
|
|
|
gagaPaging.createPagination(result.paging.pageable);
|
|
|
+ debugger;
|
|
|
+ if ('G056_N' == $('#cartForm input[name=goodsType]')){
|
|
|
+ $('.ex_qna').find('.number').html('('+ result.paging.pageable.totalCount +')');
|
|
|
+ }else{
|
|
|
+ $('.pd_qnalist').find('.select_custom.deal_opt_item').find('.combo .select').find('.itemPostCount').html('(문의 '+ result.paging.pageable.totalCount +')');
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
$(document).ready(function() {
|