mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Use Popup.back() instead of Popup.close() to get no conflicts if a Popup is opened as "Sub Popup"
- .back() is also .close() if there is no "popup layer" left
This commit is contained in:
parent
a59dfa8fc0
commit
b9250e4be4
17 changed files with 82 additions and 82 deletions
|
|
@ -34,10 +34,10 @@ Template.memberMenuPopup.helpers({
|
|||
|
||||
Template.memberMenuPopup.events({
|
||||
'click .js-my-cards'() {
|
||||
Popup.close();
|
||||
Popup.back();
|
||||
},
|
||||
'click .js-due-cards'() {
|
||||
Popup.close();
|
||||
Popup.back();
|
||||
},
|
||||
'click .js-open-archived-board'() {
|
||||
Modal.open('archivedBoards');
|
||||
|
|
@ -53,7 +53,7 @@ Template.memberMenuPopup.events({
|
|||
AccountsTemplates.logout();
|
||||
},
|
||||
'click .js-go-setting'() {
|
||||
Popup.close();
|
||||
Popup.back();
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -155,7 +155,7 @@ Template.editProfilePopup.events({
|
|||
} else Popup.back();
|
||||
},
|
||||
'click #deleteButton': Popup.afterConfirm('userDelete', function() {
|
||||
Popup.close();
|
||||
Popup.back();
|
||||
Users.remove(Meteor.userId());
|
||||
AccountsTemplates.logout();
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue