diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-05-26 20:30:01 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-05-26 20:34:56 +0200 |
commit | 40c2411f2a1ce0bbd177f377828f9d6700112b06 (patch) | |
tree | bf1f7ab8d94fe3e0edfcde817961d6954c11af4d /client/components/cards | |
parent | 1b4fcc67f4ec94ed53a2f86ad6889e551f00815e (diff) | |
download | wekan-40c2411f2a1ce0bbd177f377828f9d6700112b06.tar.gz wekan-40c2411f2a1ce0bbd177f377828f9d6700112b06.tar.bz2 wekan-40c2411f2a1ce0bbd177f377828f9d6700112b06.zip |
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.
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/details.jade | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/cards/details.jade b/client/components/cards/details.jade index 55cc4b9e..b77c3961 100644 --- a/client/components/cards/details.jade +++ b/client/components/cards/details.jade @@ -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 |