You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03:00
remove create_room for now. lots of stupid bugfixes across the board.
This commit is contained in:
@@ -61,7 +61,12 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
componentWillReceiveProps: function(nextProps) {
|
||||
this.value = nextProps.initialValue;
|
||||
if (nextProps.initialValue !== this.props.initialValue) {
|
||||
this.value = nextProps.initialValue;
|
||||
if (this.refs.editable_div) {
|
||||
this.showPlaceholder(!this.value);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
componentDidMount: function() {
|
||||
@@ -71,11 +76,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
},
|
||||
|
||||
componentDidUpdate: function(newProps) {
|
||||
this.value = this.props.initialValue;
|
||||
if (this.refs.editable_div) {
|
||||
this.showPlaceholder(!this.value);
|
||||
}
|
||||
componentDidUpdate: function() {
|
||||
},
|
||||
|
||||
showPlaceholder: function(show) {
|
||||
|
||||
Reference in New Issue
Block a user