diff --git a/progit/templates/issue.html b/progit/templates/issue.html index f89b6e9..35dec2f 100644 --- a/progit/templates/issue.html +++ b/progit/templates/issue.html @@ -167,7 +167,10 @@ $(function() { $.ajax({ url: _url , type: 'POST', - data: {content: _text}, + data: { + content: _text, + csrf_token: "{{ form.csrf_token.current_token }}", + }, dataType: 'html', success: function(res) { $( "#preview" ).html(res);