Fixed ability to be able to delete a specific invite field within the invite new member form instead of just removing the bottom one every time

This commit is contained in:
Reed Garmsen
2015-06-18 17:15:21 -07:00
parent 3cd793fcb9
commit 4e8e00e94f

View File

@@ -123,7 +123,7 @@ module.exports = React.createClass({
<div key={"key" + index}>
{ true ?
<div>
<button type="button" className="btn remove__member" onClick={function(){self.removeInviteFields(index);}}>×</button>
<button type="button" className="btn remove__member" onClick={this.removeInviteFields.bind(this, index)}>×</button>
</div>
: ""}
<div className={ email_error ? "form-group invite has-error" : "form-group invite" }>