Fixed safety sending
This commit is contained in:
parent
1b57b9b691
commit
bc01fd7dce
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ $(function()
|
||||||
var postDom = $(this);
|
var postDom = $(this);
|
||||||
var file = postDom.data('file');
|
var file = postDom.data('file');
|
||||||
var tags = postDom.find('[name=tags]').val();
|
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();
|
var fd = new FormData();
|
||||||
fd.append('file', file);
|
fd.append('file', file);
|
||||||
fd.append('tags', tags);
|
fd.append('tags', tags);
|
||||||
|
|
Loading…
Reference in a new issue