diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 3749ee3bc6..a9c9651041 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -860,6 +860,8 @@ module.exports = React.createClass({ }, onSettingsSaveClick: function() { + if (!this.refs.room_settings) return; + this.setState({ uploadingRoomSettings: true, }); @@ -1432,6 +1434,7 @@ module.exports = React.createClass({ Cancel } + if (this.props.saving) { + var Spinner = sdk.getComponent("elements.Spinner"); + spinner =
; + } + if (can_set_room_name) { var RoomNameEditor = sdk.getComponent("rooms.RoomNameEditor"); name = @@ -280,6 +287,7 @@ module.exports = React.createClass({ { topic_el } + {spinner} {save_button} {cancel_button} {right_row}