From f594f455dd1dad53e068ba3f7786e1821ed8ce5d Mon Sep 17 00:00:00 2001 From: Graham Triggs Date: Fri, 15 Sep 2017 08:37:13 +0100 Subject: [PATCH] [VIVO-1374] Update javascript disable for latest jQuery --- .../freemarker/edit/forms/js/adviseeRelationshipUtils.js | 2 +- .../freemarker/edit/forms/js/advisorRelationshipUtils.js | 2 +- .../freemarker/edit/forms/js/grantHasContributorUtils.js | 2 +- .../templates/freemarker/edit/forms/js/orgHasPositionUtils.js | 2 +- .../freemarker/edit/forms/js/organizationForTrainingUtils.js | 2 +- .../freemarker/edit/forms/js/projectHasParticipantUtils.js | 2 +- .../freemarker/edit/forms/js/publicationToPersonUtils.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/adviseeRelationshipUtils.js b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/adviseeRelationshipUtils.js index 477e851f..0c586b04 100644 --- a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/adviseeRelationshipUtils.js +++ b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/adviseeRelationshipUtils.js @@ -36,7 +36,7 @@ var adviseeRelUtils = { // may not need this - this.firstName.attr('disabled', ''); + this.firstName.attr('disabled', false); }, diff --git a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/advisorRelationshipUtils.js b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/advisorRelationshipUtils.js index 22b89933..0ce82748 100644 --- a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/advisorRelationshipUtils.js +++ b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/advisorRelationshipUtils.js @@ -36,7 +36,7 @@ var advisorRelUtils = { // may not need this - this.firstName.attr('disabled', ''); + this.firstName.attr('disabled', false); }, diff --git a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/grantHasContributorUtils.js b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/grantHasContributorUtils.js index 1062bea0..852ffde9 100644 --- a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/grantHasContributorUtils.js +++ b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/grantHasContributorUtils.js @@ -27,7 +27,7 @@ var grantHasContributorUtils = { this.personUri = $('#personUri'); // may not need this - this.firstName.attr('disabled', ''); + this.firstName.attr('disabled', false); }, diff --git a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/orgHasPositionUtils.js b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/orgHasPositionUtils.js index a09a2dee..acb3acf6 100644 --- a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/orgHasPositionUtils.js +++ b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/orgHasPositionUtils.js @@ -25,7 +25,7 @@ var orgHasPositionUtils = { this.personUri = $('#personUri'); // may not need this - this.firstName.attr('disabled', ''); + this.firstName.attr('disabled', false); }, diff --git a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/organizationForTrainingUtils.js b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/organizationForTrainingUtils.js index b0e894bc..d501e9b4 100644 --- a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/organizationForTrainingUtils.js +++ b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/organizationForTrainingUtils.js @@ -30,7 +30,7 @@ var orgForTrainingUtils = { this.degreeSelector = $('#degreeUri'); // may not need this - this.firstName.attr('disabled', ''); + this.firstName.attr('disabled', false); }, diff --git a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/projectHasParticipantUtils.js b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/projectHasParticipantUtils.js index e8c55ca9..deff54a2 100644 --- a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/projectHasParticipantUtils.js +++ b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/projectHasParticipantUtils.js @@ -27,7 +27,7 @@ var projectHasParticipantUtils = { this.personUri = $('#personUri'); // may not need this - this.firstName.attr('disabled', ''); + this.firstName.attr('disabled', false); }, diff --git a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/publicationToPersonUtils.js b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/publicationToPersonUtils.js index 573fa7c7..1410c6f8 100644 --- a/webapp/src/main/webapp/templates/freemarker/edit/forms/js/publicationToPersonUtils.js +++ b/webapp/src/main/webapp/templates/freemarker/edit/forms/js/publicationToPersonUtils.js @@ -61,7 +61,7 @@ var publicationToPersonUtils = { this.changeLink = this.pubAcSelection.children('p').children('#changeSelection'); // may not need this - this.firstName.attr('disabled', ''); + this.firstName.attr('disabled', false); },