NIHVIVO-646 Work on autocomplete in add authors to publication form
This commit is contained in:
parent
c1bdd477f0
commit
86394e3cf2
8 changed files with 479 additions and 12 deletions
13
webapp/web/templates/freemarker/lib/json.ftl
Normal file
13
webapp/web/templates/freemarker/lib/json.ftl
Normal file
|
@ -0,0 +1,13 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Macros for json output -->
|
||||
|
||||
<#macro array data>
|
||||
[
|
||||
<#if data??>
|
||||
<#list data as obj>
|
||||
${obj.json}<#if obj_has_next>,</#if>
|
||||
</#list>
|
||||
</#if>
|
||||
]
|
||||
</#macro>
|
Loading…
Add table
Add a link
Reference in a new issue