Commit Graph

17 Commits

Author SHA1 Message Date
JoramWilander
e54354f92a Fixes root images not loading when switich RHS threads. 2015-08-28 09:05:04 -04:00
=Corey Hulen
64b179ab0e Fixes mm-1912 move get file info into its own web service call 2015-08-24 15:03:52 -07:00
Asaad Mahmood
5f068109a7 Fixing style guide issues 2015-08-15 01:30:20 +05:00
Asaad Mahmood
8f9f4810a5 Using variables efficiently 2015-08-15 01:17:26 +05:00
Asaad Mahmood
9a4a1c5f96 Initialising trimmedFilename variable 2015-08-14 19:38:01 +05:00
Asaad Mahmood
67dc6e60f3 mm-1858 - Truncating and adding tooltips to file names in thumbnail details 2015-08-14 19:36:58 +05:00
JoramWilander
dad7851423 center small thumbnails and top left larger thumbnails 2015-07-31 09:52:18 -04:00
hmhealey
de01a7e679 Cleaned up ViewImageModal and FileAttachment and added some extra comments 2015-07-29 10:18:58 -04:00
hmhealey
af246bb44b Updated ViewImage modal dialog to include details about non-image files 2015-07-29 10:04:28 -04:00
hmhealey
b0c64c73f9 Added check to make sure that FileAttachment is mounted before asynchronously setting state to avoid warning messages. 2015-07-29 10:03:42 -04:00
hmhealey
411f8cb9ef Fixed FileAttachment component to not spam the server with requests when displaying a zero byte file 2015-07-29 10:03:42 -04:00
hmhealey
f66cd5e977 Added utility function to get a file attachment's url 2015-07-29 10:03:42 -04:00
hmhealey
0e121a68de Changed the thumbnail for non-image file attachments to open the ViewImageModal on click like it does for image attachments 2015-07-29 09:56:29 -04:00
hmhealey
92c9ec71a0 Fixed race condition which could occur while requesting the file size for the file attachment previews 2015-07-29 09:52:09 -04:00
hmhealey
0f0a887205 Removed unused custom-file CSS class that was being applied to non-image file attachment previews 2015-07-29 09:52:09 -04:00
hmhealey
ca2b73eac3 Fix ViewImageModals created by RHS posts so that their ids are distinct from those in the main window 2015-07-29 09:52:09 -04:00
hmhealey
5488b5e216 Reconcile the code to display attachment previews into a FileAttachmentList class to clean up duplicated code. 2015-07-29 09:52:08 -04:00