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

Этот коммит содержится в:
Reed Garmsen
2015-06-18 17:15:21 -07:00
родитель 3cd793fcb9
Коммит 4e8e00e94f

Просмотреть файл

@@ -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" }>