NIHVIVO-2108 Dropdown won't display if there are no dataProperties.
This commit is contained in:
parent
85a34378a1
commit
a837d62ae8
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ function disableProperties(){
|
||||||
Iterator<Entry<String,LinkedList<String>>> itr = set.iterator();
|
Iterator<Entry<String,LinkedList<String>>> itr = set.iterator();
|
||||||
Entry<String, LinkedList<String>> entry = null;
|
Entry<String, LinkedList<String>> entry = null;
|
||||||
%>
|
%>
|
||||||
|
<%if(itr.hasNext()){%>
|
||||||
<select name="property" id="properties" disabled="disabled">
|
<select name="property" id="properties" disabled="disabled">
|
||||||
<% while(itr.hasNext()){%>
|
<% while(itr.hasNext()){%>
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ function disableProperties(){
|
||||||
Iterator<String> listItr = entry.getValue().iterator();
|
Iterator<String> listItr = entry.getValue().iterator();
|
||||||
%>
|
%>
|
||||||
<option value ="<%=entry.getKey() %>"><%=entry.getKey()%></option>
|
<option value ="<%=entry.getKey() %>"><%=entry.getKey()%></option>
|
||||||
<%}
|
<%}}
|
||||||
%>
|
%>
|
||||||
</select>
|
</select>
|
||||||
<br></br>
|
<br></br>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue