diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-07 17:18:14 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-07 17:18:14 -0500 |
commit | 04a194d80271f0681288c05f118ce311c3c2d32e (patch) | |
tree | 17837e5189ec03d940dc3af66a30cbd59ced9647 /web/react | |
parent | c31b0bf36122cf58209a6096451223702b42191a (diff) | |
parent | a94879a7d52e749a01c876dae8d6f2cd757730cb (diff) | |
download | chat-04a194d80271f0681288c05f118ce311c3c2d32e.tar.gz chat-04a194d80271f0681288c05f118ce311c3c2d32e.tar.bz2 chat-04a194d80271f0681288c05f118ce311c3c2d32e.zip |
Merge pull request #2366 from hmhealey/plt2016
PLT-2016/PLT-2013 Fixed file attachment download link to properly trigger a download
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/file_attachment.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx index 819638676..6aeae638f 100644 --- a/web/react/components/file_attachment.jsx +++ b/web/react/components/file_attachment.jsx @@ -126,7 +126,7 @@ class FileAttachment extends React.Component { var filename = this.props.filename; var fileInfo = utils.splitFileLocation(filename); - var fileUrl = utils.getFileUrl(filename); + var fileUrl = utils.getFileUrl(filename, true); var type = utils.getFileType(fileInfo.ext); var thumbnail; |