diff --git a/productMods/edit/forms/addGrantRoleToPerson.jsp b/productMods/edit/forms/addGrantRoleToPerson.jsp index c89c9362..79da1599 100644 --- a/productMods/edit/forms/addGrantRoleToPerson.jsp +++ b/productMods/edit/forms/addGrantRoleToPerson.jsp @@ -259,7 +259,7 @@ PREFIX core: <${vivoCore}> <%-- DO NOT CHANGE IDS, CLASSES, OR HTML STRUCTURE IN THIS FORM WITHOUT UNDERSTANDING THE IMPACT ON THE JAVASCRIPT! --%>
" > -

+

(Verify this match)

diff --git a/productMods/edit/forms/addPublicationToPerson.jsp b/productMods/edit/forms/addPublicationToPerson.jsp index 024e9e70..cddbcf91 100644 --- a/productMods/edit/forms/addPublicationToPerson.jsp +++ b/productMods/edit/forms/addPublicationToPerson.jsp @@ -213,7 +213,7 @@ SPARQL queries for existing values. --%>
-

+

<%-- RY maybe make this a label and input field. See what looks best. --%> diff --git a/productMods/edit/forms/addRoleToPersonTwoStage.jsp b/productMods/edit/forms/addRoleToPersonTwoStage.jsp index 91ecf068..280b7332 100644 --- a/productMods/edit/forms/addRoleToPersonTwoStage.jsp +++ b/productMods/edit/forms/addRoleToPersonTwoStage.jsp @@ -327,7 +327,7 @@
-

+

<%-- RY maybe make this a label and input field. See what looks best. --%> @@ -335,7 +335,7 @@
-

+

Dates of Participation

diff --git a/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js b/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js index 621599df..d020461e 100644 --- a/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js +++ b/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js @@ -39,9 +39,8 @@ var customForm = { this.verifyMatchBaseHref = this.verifyMatch.attr('href'); this.acSelectorWrapper = this.acSelector.parent(); - this.existingIndividualLabel = $('#label'); - // This is the label element for the field with name 'label' - this.labelFieldLabel = $('label[for=' + this.existingIndividualLabel.attr('id') + ']'); + this.relatedIndLabel = $('#relatedIndLabel'); + this.labelFieldLabel = $('label[for=' + this.relatedIndLabel.attr('id') + ']'); // Get this on page load, so we can prepend to it. We can't just prepend to the current label text, // because it may have already been modified for a previous selection. this.baseLabelText = this.labelFieldLabel.html(); @@ -132,7 +131,7 @@ var customForm = { initFormEditView: function() { // These should not be editable: only properties of the role are editable. this.typeSelector.attr('disabled', 'disabled'); - this.existingIndividualLabel.attr('disabled', 'disabled'); + this.relatedIndLabel.attr('disabled', 'disabled'); }, // Bind event listeners that persist over the life of the page.