mirror of
https://github.com/wekan/wekan.git
synced 2026-03-07 22:22:33 +01:00
Implement a new system to handle "escape actions"
The new EscapeActions object decide what to do when the user press the Escape key (such as closing a opened popup or inlined form). This commit also re-introduced the sidebar current view as a sidebar component local state.
This commit is contained in:
parent
1b4fcc67f4
commit
40c2411f2a
13 changed files with 148 additions and 53 deletions
|
|
@ -26,7 +26,8 @@ template(name="cardDetails")
|
|||
h3 Description
|
||||
+inlinedForm(classNames="js-card-description")
|
||||
i.fa.fa-times.js-close-inlined-form
|
||||
textarea(autofocus)= description
|
||||
+editor(autofocus=true)
|
||||
= description
|
||||
button(type="submit") {{_ 'edit'}}
|
||||
else
|
||||
.js-open-inlined-form
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue