mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 09:38:49 +01:00
Click on the page to escape the last action
This is a generalization of what we had for closing a popup by clicking outside of it. It now works for inlinedForms and detailsPane as well.
This commit is contained in:
parent
12919cbfc6
commit
92dd05d06d
17 changed files with 199 additions and 145 deletions
|
|
@ -24,7 +24,7 @@ Router.configure({
|
|||
return this.redirect('atSignIn');
|
||||
}
|
||||
|
||||
// We want to execute our EscapeActions.executeLowerThan method any time the
|
||||
// We want to execute our EscapeActions.executeUpTo method any time the
|
||||
// route is changed, but not if the stays the same but only the parameters
|
||||
// change (eg when a user is navigation from a card A to a card B). Iron-
|
||||
// Router onBeforeAction is a reactive context (which is a bad desig choice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue