Merge pull request #4769 from cvandeplas/2.4

fix: [js] fixes #4678 and javascript errors
pull/4781/head
Andras Iklody 2019-06-19 07:37:54 +01:00 committed by GitHub
commit ba6fe46d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -4122,6 +4122,8 @@ function checkIfLoggedIn() {
if (data.slice(-2) !== 'OK') {
window.location.replace(baseurl + "/users/login");
}
}).fail(function() {
window.location.replace(baseurl + "/users/login");
});
}
setTimeout(function() { checkIfLoggedIn(); }, 5000);