Edirom / MerMEId

Metadata Editor and Repository for MEI Data

Home Page:https://mermeid.edirom.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protected files not visible after login

daniel-jettka opened this issue · comments

Directly after login some (protected) files are not visible:

image

after manual reload:

image

Since the list of files is generated on the server and delivered to the client as an HTML page, I believe we have to reload the page completely after a successful login (and logout!). The relevant entry point is probably the onreadystatechange at

xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
updateLoginInfo(JSON.parse(this.responseText));
}
};