src/main/webapp/WEB-INF/jsp/issue-form.jsp

changeset 178
88207b860cba
parent 168
1c3694ae224c
child 180
009700915269
     1.1 --- a/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Mon Jan 04 15:34:41 2021 +0100
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/issue-form.jsp	Mon Jan 04 17:30:10 2021 +0100
     1.3 @@ -87,6 +87,7 @@
     1.4                      <c:forEach var="component" items="${viewmodel.components}">
     1.5                          <option
     1.6                                  <c:if test="${not empty issue.component and component eq issue.component}">selected</c:if>
     1.7 +                                <c:if test="${empty issue.component and component.id eq cid}">selected</c:if>
     1.8                                  value="${component.id}"><c:out value="${component.name}"/></option>
     1.9                      </c:forEach>
    1.10                  </select>

mercurial