mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
add popup to confirm deleting one account
This commit is contained in:
parent
7cc1ffcab2
commit
84ba42f42e
4 changed files with 12 additions and 6 deletions
|
|
@ -243,8 +243,8 @@ Template.editUserPopup.events({
|
|||
} else Popup.close();
|
||||
},
|
||||
|
||||
'click #deleteButton'() {
|
||||
'click #deleteButton': Popup.afterConfirm('userDelete', function() {
|
||||
Users.remove(this.userId);
|
||||
Popup.close();
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue