diff --git a/src/components/views/elements/EditableText.js b/src/components/views/elements/EditableText.js index 1e67e4fb1e..3ce8c90447 100644 --- a/src/components/views/elements/EditableText.js +++ b/src/components/views/elements/EditableText.js @@ -123,6 +123,7 @@ module.exports = React.createClass({ this.value = this.props.initialValue; this.showPlaceholder(!this.value); this.onValueChanged(false); + this.refs.editable_div.blur(); }, onValueChanged: function(shouldSubmit) { @@ -192,7 +193,9 @@ module.exports = React.createClass({ this.setState({ phase: this.Phases.Display, }, function() { - self.onValueChanged(submit); + if (this.value !== this.props.initialValue) { + self.onValueChanged(submit); + } }); },