Added Import for Large CSV
This commit is contained in:
+3
-3
@@ -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 () {
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user