mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-11 19:04:24 +00:00
Restructure corpora blueprint
This commit is contained in:
1 parent
6c1f48eb2f
commit
c405061574
8 files changed
+100
-319
No files matched your search
@@ -246,7 +246,7 @@
|
||||
let publishingModalIsPublicSwitchElement = document.querySelector('#publishing-modal-is-public-switch');
|
||||
publishingModalIsPublicSwitchElement.addEventListener('change', (event) => {
|
||||
let newIsPublic = publishingModalIsPublicSwitchElement.checked;
|
||||
app.corpora.setIsPublic.update({{ corpus.hashid|tojson }}, newIsPublic)
|
||||
app.corpora.updateIsPublic({{ corpus.hashid|tojson }}, newIsPublic)
|
||||
.catch((response) => {
|
||||
publishingModalIsPublicSwitchElement.checked = !newIsPublic;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user