Bugfix toggle readstatus in modal dialog

This commit is contained in:
Ozzie Isaacs 2021-10-15 19:26:20 +02:00
parent 1be7dfcdca
commit 6e5d9d7657

View File

@ -22,8 +22,10 @@ $(function() {
});
$("#have_read_cb").on("change", function() {
$.post({
$.ajax({
url: this.closest("form").action,
method:"post",
data: $(this).closest("form").serialize(),
error: function(response) {
var data = [{type:"danger", message:response.responseText}]
$("#flash_success").remove();