diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-07-23 18:28:31 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-07-29 09:52:09 -0400 |
commit | ca2b73eac375d7037c50e96330f449de2f2381bc (patch) | |
tree | 7e10db51e5548179be4416e9ba83259afa654c35 /web/react/components/post_body.jsx | |
parent | e1257b781939bc8767b379e3e49a7f2ca7e52e7b (diff) | |
download | chat-ca2b73eac375d7037c50e96330f449de2f2381bc.tar.gz chat-ca2b73eac375d7037c50e96330f449de2f2381bc.tar.bz2 chat-ca2b73eac375d7037c50e96330f449de2f2381bc.zip |
Fix ViewImageModals created by RHS posts so that their ids are distinct from those in the main window
Diffstat (limited to 'web/react/components/post_body.jsx')
-rw-r--r-- | web/react/components/post_body.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/post_body.jsx b/web/react/components/post_body.jsx index d29784db9..860c96d84 100644 --- a/web/react/components/post_body.jsx +++ b/web/react/components/post_body.jsx @@ -70,10 +70,10 @@ module.exports = React.createClass({ <p key={post.id+"_message"} className={postClass}><span>{inner}</span></p> { filenames && filenames.length > 0 ? <FileAttachmentList - postId={post.id} + filenames={filenames} + modalId={"view_image_modal_" + post.id} channelId={post.channel_id} - userId={post.user_id} - filenames={filenames} /> + userId={post.user_id} /> : "" } { embed } </div> |