summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-02-07 10:15:27 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2019-02-07 10:07:36 +0000
commitb717434f133118499225d8dee2c7c7cad477992e (patch)
treef5822673969ea15c7b00b96db46d1e2a5379f32c /apps/files_external/js
parent8db2f3ec3adddb0a293bfb8c102561c08270d710 (diff)
downloadnextcloud-server-b717434f133118499225d8dee2c7c7cad477992e.tar.gz
nextcloud-server-b717434f133118499225d8dee2c7c7cad477992e.zip
Reintroduce status check for external storages
Fixes #14022 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/statusmanager.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js
index 7a3ecda76b1..bd423192521 100644
--- a/apps/files_external/js/statusmanager.js
+++ b/apps/files_external/js/statusmanager.js
@@ -288,6 +288,17 @@ OCA.Files_External.StatusManager = {
};
ajaxQueue.push(queueElement);
});
+
+ var rolQueue = new OCA.Files_External.StatusManager.RollingQueue(ajaxQueue, 4, function () {
+ if (!self.notificationHasShown) {
+ $.each(self.mountStatus, function (key, value) {
+ if (value.status === 1) {
+ self.notificationHasShown = true;
+ }
+ });
+ }
+ });
+ rolQueue.runQueue();
}
});
},