Fixed putting "null" in post sources
This commit is contained in:
parent
997c2a10ec
commit
a7c6e9f043
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ App.Presenters.PostUploadPresenter = function(
|
||||||
formData.append('content', post.file);
|
formData.append('content', post.file);
|
||||||
formData.append('contentFileName', post.fileName);
|
formData.append('contentFileName', post.fileName);
|
||||||
}
|
}
|
||||||
formData.append('source', post.source);
|
formData.append('source', post.source || '');
|
||||||
formData.append('safety', post.safety);
|
formData.append('safety', post.safety);
|
||||||
formData.append('anonymous', (post.anonymous | 0));
|
formData.append('anonymous', (post.anonymous | 0));
|
||||||
formData.append('tags', post.tags.join(' '));
|
formData.append('tags', post.tags.join(' '));
|
||||||
|
|
Loading…
Reference in a new issue