diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-15 15:18:39 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-15 15:18:39 -0400 |
commit | c890e21cefe135a74a4a7235b704e7af95decc5c (patch) | |
tree | 46625abd1f88a70e4c5774ac37bdd7d10e899768 /web/react/components/new_channel_modal.jsx | |
parent | bd2fec0fb16783049ec555d8015f49a0ed3ccf80 (diff) | |
parent | 8d630fc3ee6a06b8daeb117a9e166c5dfba55a52 (diff) | |
download | chat-c890e21cefe135a74a4a7235b704e7af95decc5c.tar.gz chat-c890e21cefe135a74a4a7235b704e7af95decc5c.tar.bz2 chat-c890e21cefe135a74a4a7235b704e7af95decc5c.zip |
Merge pull request #1075 from mattermost/plt-577
PLT-577 Upgrading dependencies.
Diffstat (limited to 'web/react/components/new_channel_modal.jsx')
-rw-r--r-- | web/react/components/new_channel_modal.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/new_channel_modal.jsx b/web/react/components/new_channel_modal.jsx index c3d9c046d..4e6280c99 100644 --- a/web/react/components/new_channel_modal.jsx +++ b/web/react/components/new_channel_modal.jsx @@ -25,7 +25,7 @@ export default class NewChannelModal extends React.Component { handleSubmit(e) { e.preventDefault(); - const displayName = React.findDOMNode(this.refs.display_name).value.trim(); + const displayName = ReactDOM.findDOMNode(this.refs.display_name).value.trim(); if (displayName.length < 1) { this.setState({displayNameError: 'This field is required'}); return; @@ -35,8 +35,8 @@ export default class NewChannelModal extends React.Component { } handleChange() { const newData = { - displayName: React.findDOMNode(this.refs.display_name).value, - description: React.findDOMNode(this.refs.channel_desc).value + displayName: ReactDOM.findDOMNode(this.refs.display_name).value, + description: ReactDOM.findDOMNode(this.refs.channel_desc).value }; this.props.onDataChanged(newData); } |