Parcourir la source

Merge pull request #3849 from mfilser/custom-field-stringtemplate_autofocus

custom fields stringtemplate, autofocus the last input box
Lauri Ojansivu il y a 4 ans
Parent
commit
17f15f546f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      client/components/cards/cardCustomFields.jade

+ 1 - 1
client/components/cards/cardCustomFields.jade

@@ -125,7 +125,7 @@ template(name="cardCustomField-stringtemplate")
         +inlinedForm(classNames="js-card-customfield-stringtemplate")
             each item in stringtemplateItems.get
                 input.js-card-customfield-stringtemplate-item(type="text" value=item placeholder="")
-            input.js-card-customfield-stringtemplate-item.last(type="text" value="" placeholder="{{_ 'custom-field-stringtemplate-item-placeholder'}}")
+            input.js-card-customfield-stringtemplate-item.last(type="text" value="" placeholder="{{_ 'custom-field-stringtemplate-item-placeholder'}}" autofocus)
             .edit-controls.clearfix
                 button.primary(type="submit") {{_ 'save'}}
                 a.fa.fa-times-thin.js-close-inlined-form