From fd325afe4feda2515ae9416262a5f784e34da709 Mon Sep 17 00:00:00 2001 From: jojo aquino Date: Sun, 27 Apr 2025 11:24:01 +0100 Subject: [PATCH] delete photo then redirect to landing page --- .../IdentificationDocument/IdentificationDocument.cshtml | 2 +- EnotaryoPH/EnotaryoPH.Web/wwwroot/js/identification-document.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/IdentificationDocument/IdentificationDocument.cshtml b/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/IdentificationDocument/IdentificationDocument.cshtml index 60c4102..f25bef0 100644 --- a/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/IdentificationDocument/IdentificationDocument.cshtml +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/IdentificationDocument/IdentificationDocument.cshtml @@ -17,7 +17,7 @@ @if (Model.IdentificationDocument_UID != Guid.Empty) { - diff --git a/EnotaryoPH/EnotaryoPH.Web/wwwroot/js/identification-document.js b/EnotaryoPH/EnotaryoPH.Web/wwwroot/js/identification-document.js index 7f2cc9b..2cf6927 100644 --- a/EnotaryoPH/EnotaryoPH.Web/wwwroot/js/identification-document.js +++ b/EnotaryoPH/EnotaryoPH.Web/wwwroot/js/identification-document.js @@ -47,7 +47,7 @@ jfa.utilities.request.post(url, {}) .then(resp => { if (resp.ok === true) { - jfa.page.reload(); + location.href = "/"; } }) .catch(err => console.error(err));