summaryrefslogtreecommitdiffstats
path: root/web/react/components/file_attachment.jsx
Commit message (Collapse)AuthorAgeFilesLines
* center small thumbnails and top left larger thumbnailsJoramWilander2015-07-311-0/+11
|
* Cleaned up ViewImageModal and FileAttachment and added some extra commentshmhealey2015-07-291-8/+7
|
* Updated ViewImage modal dialog to include details about non-image fileshmhealey2015-07-291-1/+1
|
* Added check to make sure that FileAttachment is mounted before ↵hmhealey2015-07-291-2/+11
| | | | asynchronously setting state to avoid warning messages.
* Fixed FileAttachment component to not spam the server with requests when ↵hmhealey2015-07-291-3/+8
| | | | displaying a zero byte file
* Added utility function to get a file attachment's urlhmhealey2015-07-291-9/+1
|
* Changed the thumbnail for non-image file attachments to open the ↵hmhealey2015-07-291-12/+6
| | | | ViewImageModal on click like it does for image attachments
* Fixed race condition which could occur while requesting the file size for ↵hmhealey2015-07-291-10/+28
| | | | the file attachment previews
* Removed unused custom-file CSS class that was being applied to non-image ↵hmhealey2015-07-291-6/+1
| | | | file attachment previews
* Fix ViewImageModals created by RHS posts so that their ids are distinct from ↵hmhealey2015-07-291-2/+2
| | | | those in the main window
* Reconcile the code to display attachment previews into a FileAttachmentList ↵hmhealey2015-07-291-0/+109
class to clean up duplicated code.