From 9118452d4f4d6f97c0ab3b68d3327e7b6444cdf8 Mon Sep 17 00:00:00 2001 From: nac26 Date: Fri, 17 Dec 2010 18:30:40 +0000 Subject: [PATCH] NIHVIVO-1372 Set title to "Edit" in request scope to avoid updates to Selenium tests for 1.2 --- webapp/web/edit/editRequestDispatch.jsp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/web/edit/editRequestDispatch.jsp b/webapp/web/edit/editRequestDispatch.jsp index 6620dcf4c..661358dd3 100644 --- a/webapp/web/edit/editRequestDispatch.jsp +++ b/webapp/web/edit/editRequestDispatch.jsp @@ -47,6 +47,9 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp. ? EditConfiguration.newEditKey(session) : EditConfiguration.getEditKey(request); request.setAttribute("editKey", editKey); + + //set title to Edit to maintain functionality from 1.1.1 and avoid updates to Selenium tests + request.setAttribute("title","Edit"); // set the referrer URL, if available setEditReferer(editKey, request.getHeader("Referer"), request.getSession());