From a57d3f3843ab87da5beb4b76ab189bb4a788d02e Mon Sep 17 00:00:00 2001 From: Von B Date: Fri, 15 Nov 2024 16:51:46 +0100 Subject: [PATCH] refactor: removed alerts --- javascript/home/homeUtils2.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/javascript/home/homeUtils2.js b/javascript/home/homeUtils2.js index 6d37a5f..0b1e7b5 100644 --- a/javascript/home/homeUtils2.js +++ b/javascript/home/homeUtils2.js @@ -117,7 +117,6 @@ async function submitForm(event) { async function uploadFileAndReload(query, formData) { try { const { result, response } = await postRequest(query, formData); - alert(result); window.location.reload(); return response; } catch (error) { @@ -139,7 +138,6 @@ async function performAction(action, exp) { formData.append('exp', exp); try { const { result, response } = await postRequest("../cgi-bin/pathlayHomeActions.pl?action=deleteExp", formData); - alert(result); window.location.reload(); return response; } catch (error) {