aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/category.js
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-09-24 17:32:30 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-09-24 17:32:30 +0200
commitd9bf9b2c6f0b2cc9dec3b638841b7e3040dcf46f (patch)
tree824e0433d4749fbe3882236d172ef8eefdb81f83 /p/scripts/category.js
parent12fa756bbc10685438c8972dcca046c90ed4f548 (diff)
Fix bug move feed to another category
CSRF
Diffstat (limited to 'p/scripts/category.js')
-rw-r--r--p/scripts/category.js1
1 files changed, 1 insertions, 0 deletions
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);