hbs
This commit is contained in:
parent
025204d5fe
commit
698b8837de
|
@ -16,12 +16,21 @@
|
||||||
hx-get="shop/order"
|
hx-get="shop/order"
|
||||||
hx-swap="outerHTML"
|
hx-swap="outerHTML"
|
||||||
hx-trigger="every 1s"
|
hx-trigger="every 1s"
|
||||||
|
hx-target="#order-form-rose-ash-shop"
|
||||||
hx-on::config-request="event.detail.path += window.location.search;"
|
hx-on::config-request="event.detail.path += window.location.search;"
|
||||||
|
hx-on::confirm="
|
||||||
|
console.log(window.location.search)
|
||||||
|
console.log('checking...')
|
||||||
|
if (false && new URLSearchParams(window.location.search).get('show') !== 'buy') {
|
||||||
|
event.preventDefault();
|
||||||
|
}
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div class="spinner-border" role="status">
|
<div class="spinner-border" role="status">
|
||||||
<span class="sr-only">Loading...</span>
|
<span class="sr-only">Loading...</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<div
|
<div
|
||||||
id="order-detail-rose-ash-shop"
|
id="order-detail-rose-ash-shop"
|
||||||
|
|
Loading…
Reference in New Issue