|
|
@@ -76,7 +76,7 @@
|
|
|
$.each(result.dataList, function(idx, item) {
|
|
|
let tag = '<li>\n';
|
|
|
tag += ' <div class="fold_head">\n';
|
|
|
- tag += ' <a href="javascript:void(0)">\n';
|
|
|
+ tag += ' <a href="javascript:void(0)" onclick="fnUpdateFaqReadCount(' + item.noticeSq + ', this);">\n';
|
|
|
tag += ' <div>\n';
|
|
|
tag += ' <div class="fold_tit">\n';
|
|
|
tag += ' <div class="lap1">\n';
|
|
|
@@ -160,6 +160,18 @@
|
|
|
// }
|
|
|
// }
|
|
|
}
|
|
|
+
|
|
|
+ // 조회수 갱신
|
|
|
+ let fnUpdateFaqReadCount = function(noticeSq, obj) {
|
|
|
+ if (!($(obj).parents('.fold_head').hasClass('on'))) {
|
|
|
+ $.post('/callcenter/notice/readcount/update/' + noticeSq
|
|
|
+ , null
|
|
|
+ , function() {
|
|
|
+ // Do nothing
|
|
|
+ }
|
|
|
+ , 'json');
|
|
|
+ }
|
|
|
+ }
|
|
|
/*]]>*/
|
|
|
</script>
|
|
|
|