Skip to content

Commit

Permalink
fix auto select first tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Oct 11, 2024
1 parent 67c054e commit 3517671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Theme/Backend/item-create.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</ul>
</div>
<div class="tab-content">
<input type="radio" id="c-tab-1" name="tabular-2"<?= $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
<input type="radio" id="c-tab-1" name="tabular-2"<?= empty($this->request->uri->fragment) || $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
<div class="tab">
<div class="row">
<div class="col-xs-12 col-md-6 col-lg-4">
Expand Down

0 comments on commit 3517671

Please sign in to comment.