hbs
This commit is contained in:
parent
2db9a186b4
commit
506a095fc2
|
@ -17,11 +17,6 @@
|
||||||
|
|
||||||
<div
|
<div
|
||||||
id="order-detail-rose-ash-shop"
|
id="order-detail-rose-ash-shop"
|
||||||
hx-get="shop/order"
|
|
||||||
hx-trigger="every 1s"
|
|
||||||
hx-on::config-request="event.detail.path = new URLSearchParams(window.location.search).get('orderId') ? 'shop/order/' + new URLSearchParams(window.location.search).get('orderId')+ '/' : null; "
|
|
||||||
hx-on::confirm=" if (!new URLSearchParams(window.location.search).get('orderId')) { event.preventDefault(); }"
|
|
||||||
hx-swap="outerHTML"
|
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -42,7 +37,7 @@
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
id="order-detail-rose-ash-shop"
|
id="boot-rose-ash-shop"
|
||||||
hx-get="shop/choice/"
|
hx-get="shop/choice/"
|
||||||
hx-trigger="every 1s"
|
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-on::config-request=" event.detail.path+= '?show=' + new URLSearchParams(window.location.search).get('show'); //6a919002-94eb-467d-a226-5dd05b7f44a3 '"
|
||||||
|
|
Loading…
Reference in New Issue