VIVO-485 convert datagetter to ajax call

This commit is contained in:
tworrall 2013-11-04 14:45:43 -05:00
parent 50d788adb4
commit 6fd299301c
6 changed files with 152 additions and 83 deletions

View file

@ -204,17 +204,3 @@ var urlsBase = "${urls.base}";
-->
</section>
</#macro>
<#-- retrieves a count, the number of researchers with a geographic focus, -->
<#-- and saves it as a js variable to be used by the homePageMaps.js file -->
<#macro getGeoResearcherCount>
<script>
<#if researcherCountDG?has_content>
<#assign theCount = researcherCountDG[0].count />
<#else>
<#assign theCount = 0 />
</#if>
var geoResearcherCount = ${theCount};
</script>
</#macro>