diff options
author | Corey Hulen <corey@hulen.com> | 2015-07-30 01:10:43 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-07-30 01:10:43 -0800 |
commit | a1e53c64f6d78ba0ecd395eb466fa22380e304f4 (patch) | |
tree | 2b2ccb4d87f01d776070b3c7c00b6d520585cbeb /web/react/components | |
parent | deb4fac1f64fde5d5f435129a79eada44cb6994c (diff) | |
parent | 2800d5e9ca3ad93b8a38090e8d2aa75a1008c008 (diff) | |
download | chat-a1e53c64f6d78ba0ecd395eb466fa22380e304f4.tar.gz chat-a1e53c64f6d78ba0ecd395eb466fa22380e304f4.tar.bz2 chat-a1e53c64f6d78ba0ecd395eb466fa22380e304f4.zip |
Merge pull request #280 from mattermost/mm-1746
MM-1746 channel handle now populates properly on opening of channel rename modal
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/rename_channel_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/rename_channel_modal.jsx b/web/react/components/rename_channel_modal.jsx index 9e4a25f85..d67ab3afe 100644 --- a/web/react/components/rename_channel_modal.jsx +++ b/web/react/components/rename_channel_modal.jsx @@ -96,7 +96,7 @@ module.exports = React.createClass({ var self = this; $(this.refs.modal.getDOMNode()).on('show.bs.modal', function(e) { var button = $(e.relatedTarget); - self.setState({ display_name: button.attr('data-display'), title: button.attr('data-name'), channel_id: button.attr('data-channelid') }); + self.setState({ display_name: button.attr('data-display'), channel_name: button.attr('data-name'), channel_id: button.attr('data-channelid') }); }); $(this.refs.modal.getDOMNode()).on('hidden.bs.modal', this.handleClose); }, |