Merge pull request from mewtaylor/issue/gh-1196-follow-up

GH-1196 Follow Up: Update `otherDisabled` check
This commit is contained in:
Matthew Taylor 2017-02-23 11:02:35 -05:00 committed by GitHub
commit 8516c3a361

View file

@ -535,7 +535,7 @@ module.exports = {
return options;
},
onChooseOrganization: function (name, values) {
this.setState({otherDisabled: values.indexOf(this.organizationL10nStems.indexOf('orgChoiceOther')) === -1});
this.setState({otherDisabled: values.indexOf(this.organizationL10nStems.length) === -1});
},
render: function () {
var formatMessage = this.props.intl.formatMessage;