Parcourir la source

Fix bug move feed to another category

CSRF
Alexandre Alapetite il y a 9 ans
Parent
commit
d9bf9b2c6f
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      p/scripts/category.js

+ 1 - 0
p/scripts/category.js

@@ -95,6 +95,7 @@ function init_draggable() {
 			data : {
 			data : {
 				f_id: dragFeedId,
 				f_id: dragFeedId,
 				c_id: e.target.parentNode.getAttribute('data-cat-id'),
 				c_id: e.target.parentNode.getAttribute('data-cat-id'),
+				_csrf: context.csrf,
 			}
 			}
 		}).done(function() {
 		}).done(function() {
 			$(e.target).after(dragHtml);
 			$(e.target).after(dragHtml);