enabled
This commit is contained in:
parent
d1eca05064
commit
84cedc1a00
|
@ -31,21 +31,19 @@
|
||||||
hx-swap="innerHTML"
|
hx-swap="innerHTML"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<!--
|
|
||||||
<div
|
<div
|
||||||
id="order-form-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' : 'shop/order/?embed=true&orderId=' + new URLSearchParams(window.location.search).get('order');"
|
||||||
hx-swap="outerHTML"
|
hx-swap="outerHTML"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
-->
|
|
||||||
<div
|
<div
|
||||||
id="order-detail-rose-ash-shop"
|
id="order-detail-rose-ash-shop"
|
||||||
hx-get="order"
|
hx-get="order"
|
||||||
hx-trigger="load delay:1ms, paid from:body"
|
hx-trigger="load delay:1ms, paid from:body"
|
||||||
hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('order') ? 'shop/order/' + new URLSearchParams(window.location.search).get('order')+ '/?embed=true&ok=12' : null; //6a919002-94eb-467d-a226-5dd05b7f44a3 '"
|
hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('order') ? 'shop/order/' + new URLSearchParams(window.location.search).get('order')+ '/?embed=true' : null; //6a919002-94eb-467d-a226-5dd05b7f44a3 '"
|
||||||
hx-on::confirm = " if (!new URLSearchParams(window.location.search).get('order')) { event.preventDefault(); }"
|
hx-on::confirm = " if (!new URLSearchParams(window.location.search).get('order')) { event.preventDefault(); }"
|
||||||
hx-swap="innerHTML"
|
hx-swap="innerHTML"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue