From 5ae75800024ca98cf38c59cb414f2b17645acbd9 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Tue, 29 Jun 2010 22:08:28 +0000 Subject: [PATCH] NIHVIVO-646 JS changes --- .../forms/addAuthorsToInformationResource.jsp | 20 ++++++++++-- .../css/addAuthorsToInformationResource.css | 30 ++++++++++++------ .../js/addAuthorsToInformationResource.js | 31 +++++++++++++++++-- 3 files changed, 67 insertions(+), 14 deletions(-) diff --git a/productMods/edit/forms/addAuthorsToInformationResource.jsp b/productMods/edit/forms/addAuthorsToInformationResource.jsp index 957fe675..9ae1bb72 100644 --- a/productMods/edit/forms/addAuthorsToInformationResource.jsp +++ b/productMods/edit/forms/addAuthorsToInformationResource.jsp @@ -279,9 +279,23 @@ SPARQL queries for existing values. --%>

${title}

- + +<% + // Try this in order to get the new author hightlighted after page reload. + // If we do an ajax submit, we won't need it. + //String processedForm = (String) vreq.getAttribute("processedForm"); + //String ulClass = ""; + //if (processedForm != null && processedForm.equals("true")) { + // ulClass = "class='processedSubmission'"; + //} + //System.out.println(vreq.getAttribute("entToReturnTo")); +%> +