diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-18 17:15:21 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-18 17:15:21 -0700 |
commit | 4e8e00e94fbe7ed07025b7d8906a3cd9209b687f (patch) | |
tree | d1a43d1266f053300f665392722a090bd97257f8 /web/react/components | |
parent | 3cd793fcb9bb02d5a130f277bff18f93db13d970 (diff) | |
download | chat-4e8e00e94fbe7ed07025b7d8906a3cd9209b687f.tar.gz chat-4e8e00e94fbe7ed07025b7d8906a3cd9209b687f.tar.bz2 chat-4e8e00e94fbe7ed07025b7d8906a3cd9209b687f.zip |
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
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/invite_member_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/invite_member_modal.jsx b/web/react/components/invite_member_modal.jsx index a1b8da6e4..2ab43d2a0 100644 --- a/web/react/components/invite_member_modal.jsx +++ b/web/react/components/invite_member_modal.jsx @@ -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" }> |