Small syntax tweak

This commit is contained in:
nac26 2011-01-13 00:43:06 +00:00
parent 8e24bb1350
commit f312a15571

View file

@ -9,6 +9,7 @@ instead of the full URL of the requested page? Chintan was also asking for a
template variable with the domain name for an AJAX request with visualizations.
------------------------------------------------------------------------------------>
<#assign domainName = requestedPage?substring(0, requestedPage?index_of("/", 7)) />
<#list vClassGroup as vClass>
<#if (vClass.entityCount > 0)>
<#assign firstNonEmptyVClass = vClass.URI />
@ -20,7 +21,6 @@ template variable with the domain name for an AJAX request with visualizations.
</#if>
</#list>
<script type="text/javascript">
var menupageData = {
baseUrl: '${domainName + urls.base}',