summaryrefslogtreecommitdiff
path: root/www/js/auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/auth.js')
-rw-r--r--www/js/auth.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/js/auth.js b/www/js/auth.js
index aee8502..77d7f53 100644
--- a/www/js/auth.js
+++ b/www/js/auth.js
@@ -64,6 +64,11 @@ function auth_loginError(req, status, error) {
}
function auth_logout() {
+ if (importer && importer.isUploading()) {
+ alert('Achtung: Es laufen noch imports.');
+ return;
+ }
+
auth_cleanup();
apps_cleanup();