mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
channel handle now populates properly on opening of channel rename modal
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user