From 40c2411f2a1ce0bbd177f377828f9d6700112b06 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Tue, 26 May 2015 20:30:01 +0200 Subject: 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. --- client/components/cards/details.jade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/components/cards') 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 -- cgit v1.2.3-1-g7c22