Fix: redirect to noIdentities.jsp was broken

This commit is contained in:
HungryHobo
2009-12-19 23:56:10 +00:00
parent c6a12fc336
commit 7694ea3e58

View File

@ -60,8 +60,19 @@
</div>
</c:if>
<c:if test="${!checkingForMail}">
<div class="checkmail">
<form action="buttonFrame.jsp" method="GET">
<div class="checkmail">
<c:choose>
<c:when test="${empty ib:getIdentities().all}">
<c:set var="url" value="noIdentities.jsp"/>
<c:set var="frame" value="target=&quot;_parent&quot;"/>
</c:when>
<c:otherwise>
<c:set var="link" value="buttonFrame.jsp"/>
<c:set var="frame" value=""/>
</c:otherwise>
</c:choose>
<form action="${url}" ${frame} method="GET">
<input type="hidden" name="checkMail" value="1"/>
<button type="submit" value="Check Mail" ${disable}>Check Mail</button>
</form>