Convert index tables to using table builder

This commit is contained in:
BrokenEagle
2020-01-03 06:19:30 +00:00
parent 917ffa87ed
commit 043944e1dd
47 changed files with 1161 additions and 1628 deletions

View File

@@ -33,7 +33,7 @@ PostVersion.undo_selected = async function () {
let selected_rows = $("td .post-version-select-checkbox:checked").parents("tr");
for (let row of selected_rows) {
let id = $(row).data("post-version-id");
let id = $(row).data("id");
await $.ajax(`/post_versions/${id}/undo.json`, { method: "PUT" });
updated++;