summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-04 16:38:42 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-04 16:38:42 -0400
commit04300f6b5f25707f30ddfb45fd79417ce72b7234 (patch)
tree6041ad2cafdb16089ad2193a72265cde0a5f68ef /app/Template
parent33669c1bac974f87fa8a3809cb541d75e26fd3ef (diff)
Set focus on the dropdown for category popover
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/popover_category.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Template/board/popover_category.php b/app/Template/board/popover_category.php
index b38758d3..f391f492 100644
--- a/app/Template/board/popover_category.php
+++ b/app/Template/board/popover_category.php
@@ -9,7 +9,7 @@
<?= $this->form->hidden('project_id', $values) ?>
<?= $this->form->label(t('Category'), 'category_id') ?>
- <?= $this->form->select('category_id', $categories_list, $values) ?><br/>
+ <?= $this->form->select('category_id', $categories_list, $values, array(), array('autofocus')) ?><br/>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
@@ -18,5 +18,4 @@
</div>
</form>
</section>
-
</section> \ No newline at end of file