Fixed safety sending

This commit is contained in:
Marcin Kurczewski 2013-10-07 23:13:41 +02:00
parent 1b57b9b691
commit bc01fd7dce

View file

@ -63,7 +63,7 @@ $(function()
var postDom = $(this);
var file = postDom.data('file');
var tags = postDom.find('[name=tags]').val();
var safety = postDom.find('[name=safety]').val();
var safety = postDom.find('[name=safety]:checked').val();
var fd = new FormData();
fd.append('file', file);
fd.append('tags', tags);