mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Card Details Popup only opened if not another popup is opened yet
e.g. this Popup's didn't opened: - card sorting number - edit received date
This commit is contained in:
parent
fb66b84b58
commit
dae58d11c2
1 changed files with 7 additions and 1 deletions
|
@ -218,11 +218,17 @@ BlazeComponent.extendComponent({
|
|||
);
|
||||
},
|
||||
|
||||
cardDetailsPopup(event) {
|
||||
if (!Popup.isOpen()) {
|
||||
Popup.open("cardDetails")(event);
|
||||
}
|
||||
},
|
||||
|
||||
events() {
|
||||
return [
|
||||
{
|
||||
'click .js-minicard': this.clickOnMiniCard,
|
||||
'click .js-minicard-popup': Popup.open("cardDetails"),
|
||||
'click .js-minicard-popup': this.cardDetailsPopup,
|
||||
'click .js-toggle-multi-selection': this.toggleMultiSelection,
|
||||
'click .open-minicard-composer': this.scrollToBottom,
|
||||
submit: this.addCard,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue