'entry': td.getAttributeNS('http://acl.samfundet.no/', 'entry'),
'entity_type': td.getAttributeNS('http://acl.samfundet.no/', 'entity-type'),
'entity': td.getAttributeNS('http://acl.samfundet.no/', 'entity'),
+ 'csrftoken': td.getAttributeNS('http://acl.samfundet.no/', 'csrftoken'),
'comment': newComment
}
}).fail(function() { alert("Klarte ikke å endre kommentaren"); });