From 145876681f03f68d2fcdd4f0339f6b2b9f7b9958 Mon Sep 17 00:00:00 2001 From: enahum Date: Mon, 5 Dec 2016 10:19:12 -0300 Subject: Fix react warnings and part of backstage (#4706) --- webapp/components/get_link_modal.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webapp/components/get_link_modal.jsx') diff --git a/webapp/components/get_link_modal.jsx b/webapp/components/get_link_modal.jsx index 5363ad217..8d4cbbc1c 100644 --- a/webapp/components/get_link_modal.jsx +++ b/webapp/components/get_link_modal.jsx @@ -90,10 +90,11 @@ export default class GetLinkModal extends React.Component { className='form-control no-resize min-height' ref='textarea' value={this.props.link} + readOnly={true} /> ); - var copyLinkConfirm = null; + let copyLinkConfirm = null; if (this.state.copiedLink) { copyLinkConfirm = (

-- cgit v1.2.3-1-g7c22