diff --git a/src/Web/wwwroot/_references.js b/src/Web/wwwroot/_references.js
index 6c5d79bce2..d148fa59c3 100644
--- a/src/Web/wwwroot/_references.js
+++ b/src/Web/wwwroot/_references.js
@@ -56,7 +56,10 @@
///
///
///
+///
+///
///
+///
///
///
///
diff --git a/src/Web/wwwroot/app/services/importService.js b/src/Web/wwwroot/app/services/importService.js
index f64ac04e82..82b0e8515b 100644
--- a/src/Web/wwwroot/app/services/importService.js
+++ b/src/Web/wwwroot/app/services/importService.js
@@ -88,10 +88,11 @@
reader.onload = function (evt) {
var doc = $(evt.target.result);
var pre = doc.find('pre');
+ var csv, results;
if (pre.length === 1) {
- var csv = pre.text().trim();
- var results = Papa.parse(csv, { header: true });
+ csv = pre.text().trim();
+ results = Papa.parse(csv, { header: true });
parseData(results.data);
}
else {
@@ -99,8 +100,8 @@
for (var i = 0; i < doc.length; i++) {
if (doc[i].tagName === 'PRE') {
foundPre = true;
- var csv = doc[i].outerText.trim();
- var results = Papa.parse(csv, { header: true });
+ csv = doc[i].outerText.trim();
+ results = Papa.parse(csv, { header: true });
parseData(results.data);
break;
}
diff --git a/src/Web/wwwroot/app/vault/views/vaultAddSite.html b/src/Web/wwwroot/app/vault/views/vaultAddSite.html
index 0ddee27829..0c178df360 100644
--- a/src/Web/wwwroot/app/vault/views/vaultAddSite.html
+++ b/src/Web/wwwroot/app/vault/views/vaultAddSite.html
@@ -64,7 +64,7 @@