This commit is contained in:
giles 2024-10-01 19:07:11 +01:00
parent f9327f3c04
commit d3ad11649d
1 changed files with 9 additions and 2 deletions

View File

@ -1,13 +1,20 @@
<div> <div>
<div hx-get="shop/totals/" hx-trigger="every 1s" hx-swap="outerHTML"></div> <div hx-get="totals/" hx-trigger="load delay:1ms, every 1s" hx-swap="outerHTML"></div>
<div id="order-form-rose-ash-shop"></div> <div id="order-form-rose-ash-shop"></div>
<div id="order-detail-rose-ash-shop"></div> <div id="order-detail-rose-ash-shop"></div>
<div id="choice-all"></div> <div id="choice-all"></div>
<div
id="all-orders-rose-ash-shop-ws"
></div>
<div id="choice-me"></div> <div id="choice-me"></div>
<div
id="me-orders-rose-ash-shop-ws"
></div>
<div id="choice-buy"></div> <div id="choice-buy"></div>
@ -19,7 +26,7 @@
<div <div
id="boot-rose-ash-shop" id="boot-rose-ash-shop"
hx-get="shop/choice/" hx-get="shop/choice/"
hx-trigger="load, every 1s" hx-trigger="load delay:1ms, every 1s"
hx-on::config-request= " hx-on::config-request= "
event.detail.path+= '?show=' + new URLSearchParams(window.location.search).get('show'); event.detail.path+= '?show=' + new URLSearchParams(window.location.search).get('show');
if (new URLSearchParams(window.location.search).get('orderId')) { if (new URLSearchParams(window.location.search).get('orderId')) {