1.1 --- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp Tue Aug 03 14:46:04 2021 +0200 1.2 +++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp Tue Aug 03 15:10:43 2021 +0200 1.3 @@ -38,6 +38,7 @@ 1.4 <c:set var="issuesHref" value="./projects/${project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/"/> 1.5 1.6 <form action="${issuesHref}-/commit" method="post"> 1.7 + <input type="hidden" name="project" value="${issue.project.id}" /> 1.8 <table class="formtable fullwidth"> 1.9 <colgroup> 1.10 <col> 1.11 @@ -51,40 +52,6 @@ 1.12 </tr> 1.13 </c:if> 1.14 <tr> 1.15 - <th><fmt:message key="project"/></th> 1.16 - <td> 1.17 - <c:choose> 1.18 - <c:when test="${issue.project.id ge 0}"> 1.19 - <c:out value="${issue.project.name}" /> 1.20 - <input type="hidden" name="project" value="${issue.project.id}" /> 1.21 - </c:when> 1.22 - <c:otherwise> 1.23 - <select name="project" required> 1.24 - <c:forEach var="project" items="${viewmodel.projects}"> 1.25 - <option value="${project.id}"> 1.26 - <c:out value="${project.name}" /> 1.27 - </option> 1.28 - </c:forEach> 1.29 - </select> 1.30 - </c:otherwise> 1.31 - </c:choose> 1.32 - </td> 1.33 - </tr> 1.34 - <tr> 1.35 - <th><fmt:message key="issue.created"/></th> 1.36 - <td> 1.37 - <c:set var="dateValue" value="${issue.created}"/> 1.38 - <%@include file="../jspf/date-with-tooltip.jspf"%> 1.39 - </td> 1.40 - </tr> 1.41 - <tr> 1.42 - <th><fmt:message key="issue.updated"/></th> 1.43 - <td> 1.44 - <c:set var="dateValue" value="${issue.updated}"/> 1.45 - <%@include file="../jspf/date-with-tooltip.jspf"%> 1.46 - </td> 1.47 - </tr> 1.48 - <tr> 1.49 <th><fmt:message key="component"/></th> 1.50 <td> 1.51 <select name="component">