From c5d78f828a48ba88b8a89a0564bcb8352e84b396 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 24 Sep 2015 10:17:58 -0400 Subject: Converting preview image modal to use react-bootstrap. Fixes issue where modal would appear behind background on iOS --- web/react/components/file_attachment.jsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'web/react/components/file_attachment.jsx') diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx index c9aa06a97..888f24aa5 100644 --- a/web/react/components/file_attachment.jsx +++ b/web/react/components/file_attachment.jsx @@ -143,10 +143,7 @@ export default class FileAttachment extends React.Component { > this.props.handleImageClick(this.props.index)} > {thumbnail} @@ -187,9 +184,6 @@ FileAttachment.propTypes = { // the index of this attachment preview in the parent FileAttachmentList index: React.PropTypes.number.isRequired, - // the identifier of the modal dialog used to preview files - modalId: React.PropTypes.string.isRequired, - - // handler for when the thumbnail is clicked + // handler for when the thumbnail is clicked passed the index above handleImageClick: React.PropTypes.func }; -- cgit v1.2.3-1-g7c22