게시물 이력 조회 ajax 수정.

master
강석 최 2021-12-16 17:48:09 +09:00
parent 5c236aea6c
commit 93da80a1ff
2 changed files with 11 additions and 15 deletions

View File

@ -77,8 +77,6 @@ function getBoardContent(contentSeq){
}
function getBoardLog(contentSeq){
if(contentSeq !== undefined){
const viewContentSeq = $("#logViewContentSeq").val();
if(contentSeq !== viewContentSeq){
$.ajax({
url: '/board/selectBoardLog',
data: {contentSeq: contentSeq},
@ -93,4 +91,3 @@ function getBoardLog(contentSeq){
});
}
}
}

View File

@ -1,7 +1,6 @@
<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<div class="p-3">
<input type="hidden" id="logViewContentSeq" th:value="${contentSeq}">
<div class="row-cols-6 overflow-auto">
<table class="table table-striped">
<thead>