you want the id in aspect_memberships#destroy to be garbage? There you go… (btw. fixed #1006)

This commit is contained in:
MrZYX 2011-04-08 17:40:59 +02:00
parent c7dc6ce817
commit 75629018db

View file

@ -100,9 +100,10 @@ var AspectEdit = {
var aspect_id = person.attr('data-aspect_id')
$.ajax({
type: "DELETE",
url: "/aspect_memberships/" + aspect_id,
url: "/aspect_memberships/garbage",
data: {
'person_id': person_id
'person_id': person_id,
'aspect_id': aspect_id
}
});
}