hbs
This commit is contained in:
parent
fa0f62e221
commit
018e9301ef
|
@ -1,2 +1,5 @@
|
||||||
<div id="configure-product" name="configure-product" hx-get="shop/configure?embed" hx-trigger="load">
|
<div
|
||||||
</div>
|
id="configure-rose-ash-shop"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
hx-get="shop/totals/"
|
hx-get="shop/totals/"
|
||||||
hx-trigger="every 1ms"
|
hx-trigger="every 1s"
|
||||||
hx-on::config-request="
|
hx-on::config-request="
|
||||||
event.detail.path = !(
|
event.detail.path = !(
|
||||||
new URLSearchParams(window.location.search
|
new URLSearchParams(window.location.search
|
||||||
|
@ -13,23 +13,7 @@
|
||||||
></div>
|
></div>
|
||||||
<div
|
<div
|
||||||
id="order-form-rose-ash-shop"
|
id="order-form-rose-ash-shop"
|
||||||
hx-get="shop/order"
|
></div>
|
||||||
hx-swap="outerHTML"
|
|
||||||
hx-trigger="every 1s"
|
|
||||||
hx-target="#order-form-rose-ash-shop"
|
|
||||||
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">
|
|
||||||
<span class="sr-only">Loading...</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
id="order-detail-rose-ash-shop"
|
id="order-detail-rose-ash-shop"
|
||||||
|
@ -40,4 +24,33 @@
|
||||||
hx-swap="outerHTML"
|
hx-swap="outerHTML"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="choice-all"
|
||||||
|
>div</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="choice-me"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="choice-buy"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="choice-configure"
|
||||||
|
></div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
id="order-detail-rose-ash-shop"
|
||||||
|
hx-get="choice/"
|
||||||
|
hx-trigger="every 1s"
|
||||||
|
hx-on::config-request=" event.detail.path+= '?show=' + new URLSearchParams(window.location.search).get('show'); //6a919002-94eb-467d-a226-5dd05b7f44a3 '"
|
||||||
|
hx-swap="outerHTML"
|
||||||
|
>
|
||||||
|
<div class="spinner-border" role="status">
|
||||||
|
<span class="sr-only">Loading...</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue