Skip to content

Commit

Permalink
refactor: removed alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocasbarra committed Nov 15, 2024
1 parent 2c62843 commit a57d3f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions javascript/home/homeUtils2.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit a57d3f3

Please sign in to comment.