diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-07-29 12:35:01 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-07-29 12:35:01 -0400 |
commit | 2800d5e9ca3ad93b8a38090e8d2aa75a1008c008 (patch) | |
tree | bfb84c84ea71999be56c72e75c0cb4581ac9b601 /web | |
parent | be5470c42298d59bfc3828510aa3d57e28adae9a (diff) | |
download | chat-2800d5e9ca3ad93b8a38090e8d2aa75a1008c008.tar.gz chat-2800d5e9ca3ad93b8a38090e8d2aa75a1008c008.tar.bz2 chat-2800d5e9ca3ad93b8a38090e8d2aa75a1008c008.zip |
channel handle now populates properly on opening of channel rename modal
Diffstat (limited to 'web')
-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); }, |