File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,9 @@ <h1 class="page-title">Source: src/js/models/metadata/eml211/EML211.js</h1>
223
223
if (uri && Array.isArray(uri) && uri.length) {
224
224
[uri] = uri;
225
225
}
226
+ if (uri && Array.isArray(uri) && uri.length) {
227
+ [uri] = uri;
228
+ }
226
229
let annotations = this.get("annotations");
227
230
if (!annotations) {
228
231
annotations = new EMLAnnotations();
@@ -1757,9 +1760,11 @@ <h1 class="page-title">Source: src/js/models/metadata/eml211/EML211.js</h1>
1757
1760
}
1758
1761
}
1759
1762
1763
+ // Validate the EMLAnnotation models, checking for the canonical dataset
1760
1764
// Validate the EMLAnnotation models, checking for the canonical dataset
1761
1765
const annotations = this.get("annotations");
1762
1766
const annotationErrors = annotations ? annotations.validate() : [];
1767
+ const annotationErrors = annotations ? annotations.validate() : [];
1763
1768
1764
1769
if (annotationErrors?.length) {
1765
1770
errors.annotations = annotationErrors.filter(
@@ -1911,6 +1916,7 @@ <h1 class="page-title">Source: src/js/models/metadata/eml211/EML211.js</h1>
1911
1916
);
1912
1917
},
1913
1918
1919
+ /**
1914
1920
/**
1915
1921
* Sends an AJAX request to fetch the system metadata for this EML object.
1916
1922
* Will not trigger a sync event since it does not use
@@ -1951,6 +1957,7 @@ <h1 class="page-title">Source: src/js/models/metadata/eml211/EML211.js</h1>
1951
1957
$.ajax(fetchOptions);
1952
1958
},
1953
1959
1960
+
1954
1961
/*
1955
1962
* Returns the nofde in the given EML document that the given node type
1956
1963
* should be inserted after
You can’t perform that action at this time.
0 commit comments