1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

Merge pull request #813 from t3chguy/RoomSettings_close_focus_composer

On return to RoomView from auxPanel, send focus back to Composer
This commit is contained in:
Matthew Hodgson
2017-04-22 02:08:48 +01:00
committed by GitHub

View File

@@ -1181,6 +1181,7 @@ module.exports = React.createClass({
console.log("updateTint from onCancelClick"); console.log("updateTint from onCancelClick");
this.updateTint(); this.updateTint();
this.setState({editingRoomSettings: false}); this.setState({editingRoomSettings: false});
dis.dispatch({action: 'focus_composer'});
}, },
onLeaveClick: function() { onLeaveClick: function() {