This commit is contained in:
giles 2024-09-16 13:18:35 +01:00
parent 27167dcff6
commit 980dfea442
1 changed files with 1 additions and 3 deletions

View File

@ -33,14 +33,12 @@
</div> </div>
<div <div
id="order-rose-ash-shop" id="order-form-rose-ash-shop"
hx-get="order" hx-get="order"
hx-trigger="load delay:1ms, configured from:body, paid from:body, ordered from:body delay:1s" hx-trigger="load delay:1ms, configured from:body, paid from:body, ordered from:body delay:1s"
hx-on::config-request = "console.log('order triggered'); event.detail.path = !(new URLSearchParams(window.location.search).get('order')) ? 'shop/order/?embed=true&ok=10' : 'shop/order/?embed=true&ok=11&orderId=' + new URLSearchParams(window.location.search).get('order');" hx-on::config-request = "console.log('order triggered'); event.detail.path = !(new URLSearchParams(window.location.search).get('order')) ? 'shop/order/?embed=true&ok=10' : 'shop/order/?embed=true&ok=11&orderId=' + new URLSearchParams(window.location.search).get('order');"
hx-swap="outerHTML" hx-swap="outerHTML"
hx-target="#order-form-rose-ash-shop"
> >
<form id="order-form-rose-ash-shop"></form>
</div> </div>
<div <div
id="order-detail-rose-ash-shop" id="order-detail-rose-ash-shop"