DS-1065: Login CHooser will place plank div prior to login form (committed to both trunk and branch)

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6855 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Phillips
2011-11-28 19:56:35 +00:00
parent 70b22243f3
commit dad89a12d1

View File

@@ -146,7 +146,9 @@ public class LoginChooser extends AbstractDSpaceTransformer implements
String characters = (String) session String characters = (String) session
.getAttribute(AuthenticationUtil.REQUEST_INTERRUPTED_CHARACTERS); .getAttribute(AuthenticationUtil.REQUEST_INTERRUPTED_CHARACTERS);
if (header != null || message != null || characters != null) { if ( (header != null && header.trim().length() > 0) ||
(message != null && message.trim().length() > 0) ||
(characters != null && characters.trim().length() > 0)) {
Division reason = body.addDivision("login-reason"); Division reason = body.addDivision("login-reason");
if (header != null) if (header != null)