NIHVIVO-1372 Set title to "Edit" in request scope to avoid updates to Selenium tests for 1.2
This commit is contained in:
parent
04f244baef
commit
9118452d4f
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
|
||||||
? EditConfiguration.newEditKey(session)
|
? EditConfiguration.newEditKey(session)
|
||||||
: EditConfiguration.getEditKey(request);
|
: EditConfiguration.getEditKey(request);
|
||||||
request.setAttribute("editKey", editKey);
|
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
|
// set the referrer URL, if available
|
||||||
setEditReferer(editKey, request.getHeader("Referer"), request.getSession());
|
setEditReferer(editKey, request.getHeader("Referer"), request.getSession());
|
||||||
|
|
Loading…
Add table
Reference in a new issue