From d9bf9b2c6f0b2cc9dec3b638841b7e3040dcf46f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 24 Sep 2016 17:32:30 +0200 Subject: Fix bug move feed to another category CSRF --- p/scripts/category.js | 1 + 1 file changed, 1 insertion(+) diff --git a/p/scripts/category.js b/p/scripts/category.js index eb08ecd6e..fbcd83a01 100644 --- a/p/scripts/category.js +++ b/p/scripts/category.js @@ -95,6 +95,7 @@ function init_draggable() { data : { f_id: dragFeedId, c_id: e.target.parentNode.getAttribute('data-cat-id'), + _csrf: context.csrf, } }).done(function() { $(e.target).after(dragHtml); -- cgit v1.2.3