Skip to content

Commit 249b909

Browse files
committed
Bugfix, not show other species list when other species is not selected
1 parent 7670500 commit 249b909

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tigacrafting/templates/tigacrafting/expert_report_annotation.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,7 @@ <h4 class="modal-title" id="searchModalLabel">Search</h4>
14741474
}else if ( species_categories.indexOf(category) >= 0 ){
14751475
$('#container_value_' + input_id).show();
14761476
$('#container_mix_' + input_id).hide();
1477+
$('#container_other_' + input_id).hide();
14771478
$('#categoryvalue_' + input_id).selectpicker("val",value);
14781479
$('#category_' + input_id).selectpicker("val",category);
14791480
}else{
@@ -1522,6 +1523,7 @@ <h4 class="modal-title" id="searchModalLabel">Search</h4>
15221523
}else if ( species_categories.indexOf(category) >= 0 ){
15231524
$('#container_value_' + input_id).show();
15241525
$('#container_mix_' + input_id).hide();
1526+
$('#container_other_' + input_id).hide();
15251527
$('#categoryvalue_' + input_id).val(value);
15261528
}else{
15271529
$('#container_mix_' + input_id).hide();

0 commit comments

Comments
 (0)