mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fix edit description to require only one click.
Thanks to uusijani and xet7 ! Fixes #3338
This commit is contained in:
parent
6cbb77b591
commit
0ef248574c
3 changed files with 3 additions and 1 deletions
|
|
@ -144,3 +144,4 @@ rajit:bootstrap3-datepicker-vi
|
||||||
rajit:bootstrap3-datepicker-zh-cn
|
rajit:bootstrap3-datepicker-zh-cn
|
||||||
rajit:bootstrap3-datepicker-zh-tw
|
rajit:bootstrap3-datepicker-zh-tw
|
||||||
staringatlights:fast-render
|
staringatlights:fast-render
|
||||||
|
spacebars
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ template(name="descriptionForm")
|
||||||
.new-description.js-new-description(
|
.new-description.js-new-description(
|
||||||
class="{{#if descriptionFormIsOpen}}is-open{{/if}}")
|
class="{{#if descriptionFormIsOpen}}is-open{{/if}}")
|
||||||
form.js-new-description-form
|
form.js-new-description-form
|
||||||
+editor(class="js-new-description-input" data-meteor-emoji-large="true")
|
+editor(class="js-new-description-input" data-meteor-emoji-large="true" autofocus="autofocus")
|
||||||
| {{getUnsavedValue 'cardDescription' _id getDescription}}
|
| {{getUnsavedValue 'cardDescription' _id getDescription}}
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ template(name="editor")
|
||||||
dir="auto"
|
dir="auto"
|
||||||
class="{{class}}"
|
class="{{class}}"
|
||||||
id=id
|
id=id
|
||||||
|
autofocus=autofocus
|
||||||
placeholder="{{_ 'comment-placeholder'}}")
|
placeholder="{{_ 'comment-placeholder'}}")
|
||||||
+Template.contentBlock
|
+Template.contentBlock
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue