Small syntax tweak
This commit is contained in:
parent
8e24bb1350
commit
f312a15571
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
template variable with the domain name for an AJAX request with visualizations.
|
||||||
------------------------------------------------------------------------------------>
|
------------------------------------------------------------------------------------>
|
||||||
<#assign domainName = requestedPage?substring(0, requestedPage?index_of("/", 7)) />
|
<#assign domainName = requestedPage?substring(0, requestedPage?index_of("/", 7)) />
|
||||||
|
|
||||||
<#list vClassGroup as vClass>
|
<#list vClassGroup as vClass>
|
||||||
<#if (vClass.entityCount > 0)>
|
<#if (vClass.entityCount > 0)>
|
||||||
<#assign firstNonEmptyVClass = vClass.URI />
|
<#assign firstNonEmptyVClass = vClass.URI />
|
||||||
|
@ -20,7 +21,6 @@ template variable with the domain name for an AJAX request with visualizations.
|
||||||
</#if>
|
</#if>
|
||||||
</#list>
|
</#list>
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var menupageData = {
|
var menupageData = {
|
||||||
baseUrl: '${domainName + urls.base}',
|
baseUrl: '${domainName + urls.base}',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue