diff --git a/app/templates/admin/user.html.j2 b/app/templates/admin/user.html.j2 index 7786dbf2059f5feb2ea69b09fae04430cef0f96c..a66f830a421d4cf96ce34669fbcbb507615ac9bb 100644 --- a/app/templates/admin/user.html.j2 +++ b/app/templates/admin/user.html.j2 @@ -100,8 +100,8 @@ <script> - var corpusList = new CorpusList("corpora", nopaque.foreignCorporaSubscribers); - var jobList = new JobList("jobs", nopaque.foreignJobsSubscribers); + var corpusList = new RessourceList("corpora", nopaque.foreignCorporaSubscribers, RessourceList.dataMapper.corpus); + var jobList = new RessourceList("jobs", nopaque.foreignJobsSubscribers, RessourceList.dataMapper.job); nopaque.socket.emit("foreign_user_ressources_init", {{ user.id }}); </script> {% endblock %}