From d3ed791ab52eaddb7690869bb1cd982453badd95 Mon Sep 17 00:00:00 2001 From: Florian Orben Date: Sat, 31 Oct 2015 03:22:02 +0100 Subject: attachments frontend --- web/react/components/create_comment.jsx | 1 + 1 file changed, 1 insertion(+) (limited to 'web/react/components/create_comment.jsx') diff --git a/web/react/components/create_comment.jsx b/web/react/components/create_comment.jsx index 058594165..6fb473ae6 100644 --- a/web/react/components/create_comment.jsx +++ b/web/react/components/create_comment.jsx @@ -109,6 +109,7 @@ export default class CreateComment extends React.Component { post.pending_post_id = `${userId}:${time}`; post.user_id = userId; post.create_at = time; + post.attachments = []; PostStore.storePendingPost(post); PostStore.storeCommentDraft(this.props.rootId, null); -- cgit v1.2.3-1-g7c22