summaryrefslogtreecommitdiffstats
path: root/client/components/settings/peopleBody.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/settings/peopleBody.js')
-rw-r--r--client/components/settings/peopleBody.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/settings/peopleBody.js b/client/components/settings/peopleBody.js
index b09f6599..a9f2247c 100644
--- a/client/components/settings/peopleBody.js
+++ b/client/components/settings/peopleBody.js
@@ -243,8 +243,8 @@ Template.editUserPopup.events({
} else Popup.close();
},
- 'click #deleteButton'() {
+ 'click #deleteButton': Popup.afterConfirm('userDelete', function() {
Users.remove(this.userId);
Popup.close();
- },
+ }),
});