fix: redraw feed datatable when new entries are created
This commit is contained in:
parent
ce51623637
commit
77c8d39142
@ -362,7 +362,7 @@ $("#editForm").on("submit", async event => {
|
|||||||
dataType: "json",
|
dataType: "json",
|
||||||
data: $(event.target).serializeArray(),
|
data: $(event.target).serializeArray(),
|
||||||
success: () => {
|
success: () => {
|
||||||
table.fireEvent("draw");
|
(table as any).dataTable.draw() // is this okay? dataTable is private, but there is no other method I know of to redraw...
|
||||||
closeEditModal();
|
closeEditModal();
|
||||||
},
|
},
|
||||||
error: error => {
|
error: error => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user