Fix tabindexes on task creation and modification forms

- Add focus to tags, color and checkboxes fields
This commit is contained in:
Rafael de Camargo
2019-07-17 09:59:41 -03:00
committed by Frédéric Guillot
parent c250f3b1b8
commit ff53a6aa6b
2 changed files with 15 additions and 15 deletions

View File

@@ -38,8 +38,8 @@
<div class="task-form-bottom">
<?php if (! isset($duplicate)): ?>
<?= $this->form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1) ?>
<?= $this->form->checkbox('duplicate_multiple_projects', t('Duplicate to multiple projects'), 1) ?>
<?= $this->form->checkbox('another_task', t('Create another task'), 1, isset($values['another_task']) && $values['another_task'] == 1, '', array("tabindex" => "16")) ?>
<?= $this->form->checkbox('duplicate_multiple_projects', t('Duplicate to multiple projects'), 1, false, '', array("tabindex" => "17")) ?>
<?php endif ?>
<?= $this->modal->submitButtons() ?>