Commit 6e5d9d76 authored by Ozzie Isaacs's avatar Ozzie Isaacs

Bugfix toggle readstatus in modal dialog

parent 1be7dfcd
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment