mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Card delete closes now the popup after delete confirmation
This commit is contained in:
parent
7f7ef0a914
commit
67f614ffb0
1 changed files with 1 additions and 1 deletions
|
@ -1114,7 +1114,7 @@ BlazeComponent.extendComponent({
|
|||
}
|
||||
},
|
||||
'click .js-delete': Popup.afterConfirm('cardDelete', function () {
|
||||
Popup.back();
|
||||
Popup.close();
|
||||
// verify that there are no linked cards
|
||||
if (Cards.find({ linkedId: this._id }).count() === 0) {
|
||||
Cards.remove(this._id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue