Skip to content

Commit

Permalink
Enable tabindex recompute on preview button while insert new rows
Browse files Browse the repository at this point in the history
Signed-off-by: Yohann Dupont <yd@2dcom.fr>
  • Loading branch information
Jir4 committed Mar 9, 2022
1 parent 6387eaa commit 1c2e6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/InsertEdit.php
Expand Up @@ -1974,7 +1974,7 @@ private function getSubmitAndResetButtonForActionsPanel($tabindex, $tabindex_for
)
. '</td>'
. '<td colspan="3" class="right vmiddle">'
. '<input type="button" class="btn btn-secondary preview_sql" value="' . __('Preview SQL') . '"'
. '<input type="button" class="btn btn-secondary preview_sql control_at_footer" value="' . __('Preview SQL') . '"'
. ' tabindex="' . ($tabindex + $tabindex_for_value + 6) . '">'
. '<input type="reset" class="btn btn-secondary control_at_footer" value="' . __('Reset') . '"'
. ' tabindex="' . ($tabindex + $tabindex_for_value + 7) . '">'
Expand Down

0 comments on commit 1c2e6c2

Please sign in to comment.