summaryrefslogtreecommitdiff
path: root/www/js/auth.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-02-22 18:59:00 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-02-22 18:59:00 (GMT)
commit64b27a0914f7d6f3f6c60001c3a66fd7d432421e (patch)
tree7bd6d18bf905016504a60669f9af93fb907e2086 /www/js/auth.js
parent502912ed02337c8b3420b9c3acf328e822c2c4f3 (diff)
Warn about running uploads
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();