diff --git a/productMods/edit/forms/addClinicalRoleToPerson.jsp b/productMods/edit/forms/addClinicalRoleToPerson.jsp index dab841f2..5d94676c 100644 --- a/productMods/edit/forms/addClinicalRoleToPerson.jsp +++ b/productMods/edit/forms/addClinicalRoleToPerson.jsp @@ -4,7 +4,7 @@ - + - + \ No newline at end of file diff --git a/productMods/edit/forms/addHeadOfRoleToPerson.jsp b/productMods/edit/forms/addHeadOfRoleToPerson.jsp index a6316bc9..50a7e632 100644 --- a/productMods/edit/forms/addHeadOfRoleToPerson.jsp +++ b/productMods/edit/forms/addHeadOfRoleToPerson.jsp @@ -4,11 +4,11 @@ - + - + - + - + \ No newline at end of file diff --git a/productMods/edit/forms/addResearcherRoleToPerson.jsp b/productMods/edit/forms/addResearcherRoleToPerson.jsp index d08052c4..e075311c 100644 --- a/productMods/edit/forms/addResearcherRoleToPerson.jsp +++ b/productMods/edit/forms/addResearcherRoleToPerson.jsp @@ -4,7 +4,7 @@ - + - + \ No newline at end of file diff --git a/productMods/edit/forms/addServiceProviderRoleToPerson.jsp b/productMods/edit/forms/addServiceProviderRoleToPerson.jsp index cdcafcf6..a7cddffa 100644 --- a/productMods/edit/forms/addServiceProviderRoleToPerson.jsp +++ b/productMods/edit/forms/addServiceProviderRoleToPerson.jsp @@ -4,10 +4,10 @@ - + - + - + \ No newline at end of file diff --git a/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js b/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js index 401d7325..03d0515d 100644 --- a/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js +++ b/productMods/edit/forms/js/customFormWithAdvanceTypeSelection.js @@ -78,14 +78,11 @@ var customForm = { // If type is already selected when the page loads (Firefox retains value // on a refresh), go directly to full view. Otherwise user has to reselect // twice to get to full view. -// RY Can't do this now: role forms don't have an empy option at the top (and can't at the -// moment, since there's no way to specify literal options without having them sorted). -// So when the page loads there's already a value selected. -// else if (typeVal.length) { -// this.acType = typeVal; -// this.setLabelFieldLabel(); -// this.initFormFullView(); -// } + else if (typeVal.length) { + this.acType = typeVal; + this.setLabelFieldLabel(); + this.initFormFullView(); + } else { this.initFormTypeView(); }