Added Import for Large CSV

This commit is contained in:
James Richie
2026-05-21 19:16:27 -04:00
parent 3c5401f82b
commit 8a3cb15e55
22 changed files with 1571 additions and 317 deletions
+3 -3
View File
@@ -54,7 +54,7 @@ $(document).ready(function () {
$(".file-input").on("change", function (e) {
if ((e.target.files.length === 0) || (e.target.files[0].type !== "text/csv")) {
if (e.target.files.length === 0) {
return false;
}
@@ -93,7 +93,7 @@ $(document).ready(function () {
.done(function () {
$sessionStorage.action = "";
$sessionStorage.toast = "RDI Records Imported";
$sessionStorage.toast = ($("#upload_type").val() === "full") ? "CSV Import Queued" : "Permit Records Imported";
sessionStorage.setItem($application, JSON.stringify($sessionStorage));
@@ -103,4 +103,4 @@ $(document).ready(function () {
});
});
});