parent
9acaa36d8d
commit
b5bc340f32
|
@ -80,10 +80,12 @@ const TeamList = createReactClass({
|
|||
var self = this;
|
||||
var teamNodes = this.props.teams.map((team, i) => {
|
||||
function handleTeamRemove() {
|
||||
document.activeElement.blur();
|
||||
self.openServerRemoveModal(i);
|
||||
}
|
||||
|
||||
function handleTeamEditing() {
|
||||
document.activeElement.blur();
|
||||
self.handleTeamEditing(team.name, team.url, i);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,11 +9,9 @@ class TeamListItem extends React.Component {
|
|||
}
|
||||
|
||||
handleTeamRemove() {
|
||||
document.activeElement.blur();
|
||||
this.props.onTeamRemove();
|
||||
}
|
||||
handleTeamEditing() {
|
||||
document.activeElement.blur();
|
||||
this.props.onTeamEditing();
|
||||
}
|
||||
render() {
|
||||
|
|
Loading…
Reference in a new issue