NIHVIVO-707 Fix required values on webpage form. Fix cancel url on webpage form in add mode.
This commit is contained in:
parent
abf49ae47a
commit
f50bc009c3
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
|||
urlPatternToCancelTo = request.getParameter("url");
|
||||
}
|
||||
// If a different cancel return path has been designated, use it. Otherwise, use the regular return path.
|
||||
if (cancel != null && cancel.equals("true") && !StringUtils.isEmpty(urlPatternToCancelTo)) {
|
||||
if ("true".equals(cancel) && !StringUtils.isEmpty(urlPatternToCancelTo)) {
|
||||
urlPattern = urlPatternToCancelTo;
|
||||
}
|
||||
else if (!StringUtils.isEmpty(urlPatternToReturnTo)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue