Commit 9e0ce400 authored by Moreau Nicolas's avatar Moreau Nicolas
Browse files

Fixes double printing of ITTs list

parent 38a76101
......@@ -60,17 +60,13 @@
<li class="list-group-item ">
<label for="ITT-selector">ITTs</label>
<select class="form-control" id="ITT-selector">
<% for(let i=0; i < renderingCapabilities["itts"].length; i++){ let selected="" ;
<% for(let i=0; i < renderingCapabilities["itts"].length; i++){
let selected="" ;
if(i===renderingCapabilities["default_itt_index"])
selected='selected="selected"' ; %>
<option <%=selected %>> <%=renderingCapabilities["itts"][i]%>
</option>
<% } %>
<% renderingCapabilities["itts"].forEach(function(itt) { %>
<option>
<%=itt%>
</option>
<% }) %>
</select>
</li>
<li class="list-group-item ">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment