From 4eb4ee47aa85da0fd81a8f8c409b3e73e111d9ee Mon Sep 17 00:00:00 2001 From: Adam Collins Date: Mon, 12 Jun 2023 14:28:16 +1000 Subject: [PATCH] Include more lists kvp values. --- grails-app/assets/javascripts/species.show.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grails-app/assets/javascripts/species.show.js b/grails-app/assets/javascripts/species.show.js index f3309d3..52272ed 100755 --- a/grails-app/assets/javascripts/species.show.js +++ b/grails-app/assets/javascripts/species.show.js @@ -41,7 +41,7 @@ function loadSpeciesLists(){ $.getJSON(SHOW_CONF.speciesListUrl + '/ws/species/' + SHOW_CONF.guid + '?isBIE=true', function( data ) { for(var i = 0; i < data.length; i++) { var specieslist = data[i]; - var maxListFields = 10; + var maxListFields = 20; if (specieslist.list.isBIE) { var $description = $('#descriptionTemplate').clone(); @@ -188,7 +188,7 @@ function fitMapToBounds() { SHOW_CONF.map.setZoom(3); } } - + SHOW_CONF.map.invalidateSize(true); } });