Improve message for invalid headers in validation
This commit is contained in:
parent
b9f83b7dcc
commit
cc39f204d1
@ -92,7 +92,7 @@ class CsvxmlValidator {
|
||||
|
||||
for (let header of headers) {
|
||||
if (this.fieldList[header] === undefined) {
|
||||
this.errors.parsing.push("Invalid column " + header + " detected! Please remove this column or use the appropriate name!");
|
||||
this.errors.parsing.push("Invalid column \"" + header + "\" detected! Please remove this column or use the appropriate name!");
|
||||
}
|
||||
}
|
||||
|
||||
|
2
public/assets/js/csvxmlV2.min.js
vendored
2
public/assets/js/csvxmlV2.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?6460ff5ed53ac" />
|
||||
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?64635020d495a" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="theme-color" content="#aa4400" />
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
</head>
|
||||
<body class="loading">
|
||||
|
||||
<script src="assets/js/csvxmlV2.min.js?6460ff5ed53ae" type="text/javascript" async></script>
|
||||
<script src="assets/js/csvxmlV2.min.js?64635020d495b" type="text/javascript" async></script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user