Fixed putting "null" in post sources

This commit is contained in:
Marcin Kurczewski 2014-11-22 17:49:35 +01:00
parent 997c2a10ec
commit a7c6e9f043

View file

@ -581,7 +581,7 @@ App.Presenters.PostUploadPresenter = function(
formData.append('content', post.file);
formData.append('contentFileName', post.fileName);
}
formData.append('source', post.source);
formData.append('source', post.source || '');
formData.append('safety', post.safety);
formData.append('anonymous', (post.anonymous | 0));
formData.append('tags', post.tags.join(' '));