From 61be3345be189197e5d95227158094a054126ffa Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Thu, 9 Nov 2023 15:51:00 +0100
Subject: [PATCH] some javascript fixes after namespace implementation
---
app/static/js/app.js | 2 +-
app/templates/admin/corpora.html.j2 | 2 +-
app/templates/admin/users.html.j2 | 2 +-
app/templates/corpora/public_corpus.html.j2 | 4 ++--
app/templates/main/social_area.html.j2 | 5 ++---
app/templates/users/user.html.j2 | 4 ++--
6 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/app/static/js/app.js b/app/static/js/app.js
index 05190ce2..27b675f4 100644
--- a/app/static/js/app.js
+++ b/app/static/js/app.js
@@ -179,7 +179,7 @@ nopaque.App = class App {
{
dismissible: false,
onCloseEnd: (modalElement) => {
- Requests.users.entity.acceptTermsOfUse();
+ nopaque.requests.users.entity.acceptTermsOfUse();
}
}
);
diff --git a/app/templates/admin/corpora.html.j2 b/app/templates/admin/corpora.html.j2
index 3eeb7981..295013f2 100644
--- a/app/templates/admin/corpora.html.j2
+++ b/app/templates/admin/corpora.html.j2
@@ -17,7 +17,7 @@
{{ super() }}