Skip to content

Commit

Permalink
Removed obsolete data-persist
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Oct 19, 2023
1 parent 1e032af commit 334f610
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Button trigger modal -->
<button class="btn btn-sm btn-secondary d-none d-inline" type="button" id="chitScanList" data-bs-toggle="modal" aria-haspopup="true" aria-expanded="false" data-persist="true" data-bs-target="#chitScanModal">
<button class="btn btn-sm btn-secondary d-none d-inline" type="button" id="chitScanList" data-bs-toggle="modal" aria-haspopup="true" aria-expanded="false" data-bs-target="#chitScanModal">
<i class="far fa-folder-open"></i>
<span n:if="count($files) > 0" class="badge bg-light text-dark">{count($files)}</span>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</span>

<div class="dropdown d-inline-flex">
<button class="btn btn-link btn-sm p-0 ms-1" type="button" data-bs-toggle="dropdown" data-persist="true">
<button class="btn btn-link btn-sm p-0 ms-1" type="button" data-bs-toggle="dropdown">
<i class="far fa-edit"></i>
</button>
<div class="dropdown-menu dropdown-menu-right px-4 py-3 text-nowrap">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</a>
<button n:attr="!$canPair ? ([disabled => true])"
n:class="btn, 'btn-' . $style, dropdown-toggle" type="button" id="pairPayments"
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true" data-persist="true"><span class="caret"></span></button>
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"><span class="caret"></span></button>

<div class="dropdown-menu pairForm" aria-labelledby="pairPayments" n:snippet="form">
<form n:name="form" class="row w-100 p-3">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<button class="btn btn-link btn-sm"
type="button"
data-bs-toggle="dropdown"
data-persist="true"
title="Odeslané e-maily">
<i class="far fa-envelope-open"></i>&nbsp;{count($emails)}
</button>
Expand Down Expand Up @@ -64,7 +63,7 @@
{var $transaction = $item->getTransaction()}
<div class="dropdown d-inline-block">
<button class="btn btn-sm btn-light" type="button"
data-bs-toggle="dropdown" data-persist="true">
data-bs-toggle="dropdown">
{if $transaction !== NULL}
<span class="fas fa-university"></span>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</span>
{else}
<div class="btn-group d-inline-block">
<span n:snippet="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-persist="true">
<span n:snippet="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{var $count = count($files)}
{if $count === 0}
<button type="button" class="btn btn-primary dropdown-toggle">
Expand Down

0 comments on commit 334f610

Please sign in to comment.