From 2ba250717cf40812c7935215c1c969dd5c6fd4ec Mon Sep 17 00:00:00 2001 From: rjy7 Date: Tue, 22 Jun 2010 20:59:30 +0000 Subject: [PATCH] NIHVIVO-646 Add new person as author in add authors to publication form --- productMods/edit/forms/js/addAuthorsToInformationResource.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/productMods/edit/forms/js/addAuthorsToInformationResource.js b/productMods/edit/forms/js/addAuthorsToInformationResource.js index c33fcf71..521aa201 100644 --- a/productMods/edit/forms/js/addAuthorsToInformationResource.js +++ b/productMods/edit/forms/js/addAuthorsToInformationResource.js @@ -61,6 +61,11 @@ var addAuthorForm = { this.submit.click(function() { addAuthorForm.prepareFieldValuesForSubmit(); }); + + this.lastNameField.blur(function() { + addAuthorForm.firstNameWrapper.show(); + addAuthorForm.middleNameWrapper.show(); + }); }, // This view shows the list of existing authors and hides the form.