diff --git a/productMods/edit/forms/addAuthorsToInformationResource.jsp b/productMods/edit/forms/addAuthorsToInformationResource.jsp
index b721430f..7a9afe7c 100644
--- a/productMods/edit/forms/addAuthorsToInformationResource.jsp
+++ b/productMods/edit/forms/addAuthorsToInformationResource.jsp
@@ -10,7 +10,7 @@ foaf:Person - new or existing individual being linked to
Data properties of Authorship:
core:authorRank
-Object properties (domain : range)
+Object properties (domain : range):
core:informationResourceInAuthorship (InformationResource : Authorship)
core:linkedInformationResource (Authorship : InformationResource) - inverse of informationResourceInAuthorship
@@ -79,7 +79,7 @@ core:authorInAuthorship (Person : Authorship) - inverse of linkedAuthor
<%-- Unlike other custom forms, this form does not allow edits of existing authors, so there are no
SPARQL queries for existing values. --%>
-<%-- RY Is this claim correct, or do we need them to retrieve an existing individual? --%>
+
<%-- Data properties --%>
diff --git a/productMods/edit/forms/css/addAuthorsToInformationResource.css b/productMods/edit/forms/css/addAuthorsToInformationResource.css
index ac386b6a..5053ddfc 100644
--- a/productMods/edit/forms/css/addAuthorsToInformationResource.css
+++ b/productMods/edit/forms/css/addAuthorsToInformationResource.css
@@ -20,6 +20,10 @@
width: 15em;
}
+#authorships.dd .authorLinkWrapper {
+ cursor: pointer;
+}
+
#showAddForm span.or {
display: none;
}
diff --git a/productMods/edit/forms/js/addAuthorsToInformationResource.js b/productMods/edit/forms/js/addAuthorsToInformationResource.js
index 1d490ff8..e440bfae 100644
--- a/productMods/edit/forms/js/addAuthorsToInformationResource.js
+++ b/productMods/edit/forms/js/addAuthorsToInformationResource.js
@@ -244,7 +244,6 @@ var addAuthorForm = {
$('.authorLinkWrapper').each(function() {
$(this).attr('title', 'Drag and drop to reorder authors');
- $(this).attr('cursor', 'pointer'); // not working??
});
authorshipList.sortable({
@@ -539,13 +538,17 @@ var addAuthorForm = {
// Disable DD and associated cues if only one author remains
disableAuthorDD: function() {
- var authorship = $('.authorship'),
+ var authorships = $('#authorships'),
+ authorship = $('.authorship'),
authorLinkWrapper = $('.authorLinkWrapper');
- $('#authorships').sortable({ disable: true } );
+
+ authorships.sortable({ disable: true } );
+ authorships.removeClass('dd');
+
authorship.css('background', 'none');
authorship.css('padding-left', '0');
+
authorLinkWrapper.attr('title', '');
- authorLinkWrapper.attr('cursor', '');
},
// RY To be implemented later.
diff --git a/productMods/edit/forms/personHasEducationalBackground.jsp b/productMods/edit/forms/personHasEducationalBackground.jsp
index 2a56af5d..e7be4546 100644
--- a/productMods/edit/forms/personHasEducationalBackground.jsp
+++ b/productMods/edit/forms/personHasEducationalBackground.jsp
@@ -95,7 +95,7 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision)
?edTrainingUri <${majorFieldPred}> ?majorField .
-<%--
+<%-- For new datetime handling in ontology - v1.2
@@ -113,16 +113,16 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision)
?edTrainingUri core:dateTimeValue ?dateTime .
--%>
-<%--
+
SELECT ?existingYear WHERE {
- ?edBackgroundUri <${yearPred}> ?existingYear }
+ ?edTrainingUri <${yearPred}> ?existingYear }
- ?edBackgroundUri <${yearPred}> ?year .
+ ?edTrainingUri <${yearPred}> ?year .
- --%>
+
SELECT ?existingDept WHERE {