NIHVIVO-1629 Upgrade jQuery to version 1.5. NIHVIVO-2153 Change datetime fieldnames to use hyphen rather than period, since the latter generates errors in jQuery 1.5 and is not a valid CSS selector.
This commit is contained in:
parent
8e554c3975
commit
dae5369232
8 changed files with 146 additions and 284 deletions
|
@ -40,21 +40,21 @@ This is a test file for the DateTimeWithPrecision EditElement.
|
|||
<v:jsonset var="sparqlForDxPrecision" >
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
SELECT ?dtX.precision WHERE {
|
||||
SELECT ?dtX-precision WHERE {
|
||||
?subject ?predicate ?object .
|
||||
?object <core:hasDateTimeValue> ?dtX.
|
||||
?dtX <rdf:type> <core:DateTimeValue> .
|
||||
?dtX <core:dateTimePrecision> ?dtX.precision .
|
||||
?dtX <core:dateTimePrecision> ?dtX-precision .
|
||||
</v:jsonset>
|
||||
|
||||
<v:jsonset var="sparqlForDxValue" >
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
SELECT ?dtX.value WHERE {
|
||||
SELECT ?dtX-value WHERE {
|
||||
?subject ?predicate ?object .
|
||||
?object <core:hasDateTimeValue> ?dtX.
|
||||
?dtX <rdf:type> <core:DateTimeValue> .
|
||||
?dtX <core:dateTime> ?dtX.value .
|
||||
?dtX <core:dateTime> ?dtX-value .
|
||||
</v:jsonset>
|
||||
|
||||
<v:jsonset var="n3ForEdit" >
|
||||
|
@ -68,8 +68,8 @@ This is a test file for the DateTimeWithPrecision EditElement.
|
|||
?object <core:hasDateTimeValue> ?dtX.
|
||||
?dtX <rdf:type> <core:DateTimeValue> .
|
||||
|
||||
?dtX <core:dateTime> ?dtX.value .
|
||||
?dtX <core:dateTimePrecision> ?dtX.precision .
|
||||
?dtX <core:dateTime> ?dtX-value .
|
||||
?dtX <core:dateTimePrecision> ?dtX-precision .
|
||||
</v:jsonset>
|
||||
|
||||
<c:set var="editjson" scope="request">
|
||||
|
@ -92,8 +92,8 @@ This is a test file for the DateTimeWithPrecision EditElement.
|
|||
"filesOnForm" : [ ],
|
||||
"sparqlForLiterals" : { },
|
||||
"sparqlForUris" : { },
|
||||
"sparqlForExistingLiterals" : { "dtX.value": "${sparqlForDxValue}" },
|
||||
"sparqlForExistingUris" : { "dtX.precision": "${sparqlForDxPrecision}" },
|
||||
"sparqlForExistingLiterals" : { "dtX-value": "${sparqlForDxValue}" },
|
||||
"sparqlForExistingUris" : { "dtX-precision": "${sparqlForDxPrecision}" },
|
||||
"fields" : {
|
||||
"dtX" : {
|
||||
"newResource" : "true",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue