mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Card Details Popup possible on desktop view
- until now a new form in the popup closed the popup itself
This commit is contained in:
parent
48b2e3dd88
commit
8c3ce4bb73
4 changed files with 29 additions and 24 deletions
|
|
@ -29,10 +29,15 @@ InlinedForm = BlazeComponent.extendComponent({
|
|||
},
|
||||
|
||||
open(evt) {
|
||||
evt && evt.preventDefault();
|
||||
if (evt) {
|
||||
evt.preventDefault();
|
||||
// Close currently opened form, if any
|
||||
EscapeActions.clickExecute(evt.target, 'inlinedForm');
|
||||
} else {
|
||||
// Close currently opened form, if any
|
||||
EscapeActions.executeUpTo('inlinedForm');
|
||||
}
|
||||
|
||||
// Close currently opened form, if any
|
||||
EscapeActions.executeUpTo('inlinedForm');
|
||||
this.isOpen.set(true);
|
||||
currentlyOpenedForm.set(this);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue