From 361931e0cb3bc8dc29b70a440cc171f347f831fb Mon Sep 17 00:00:00 2001 From: Andrew R Date: Thu, 24 Oct 2024 11:04:56 +1030 Subject: [PATCH] Update SEQTA.ts --- src/SEQTA.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SEQTA.ts b/src/SEQTA.ts index dd41c98..88a8766 100644 --- a/src/SEQTA.ts +++ b/src/SEQTA.ts @@ -2218,6 +2218,7 @@ export async function loadHomePage() { const labelArray = response.payload.filter((item: any) => item.name === 'notices.filters').map((item: any) => item.value) function onInputChange(e: any) { + const xhr2 = new XMLHttpRequest() xhr2.open('POST', `${location.origin}/seqta/student/load/notices?`, true); xhr2.setRequestHeader('Content-Type', 'application/json; charset=utf-8'); xhr2.send(JSON.stringify({ date: e.target.value }));