diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-02-07 10:15:27 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-02-07 10:15:29 +0100 |
commit | ca9b9865fff56ce113e78c46ad0af8c612b725e3 (patch) | |
tree | cf6383590b4443f727ef4e97f88649987351ebea /apps/files_external | |
parent | 3e72cc16e74f941e465c2f6132e206355440190f (diff) | |
download | nextcloud-server-ca9b9865fff56ce113e78c46ad0af8c612b725e3.tar.gz nextcloud-server-ca9b9865fff56ce113e78c46ad0af8c612b725e3.zip |
Reintroduce status check for external storages
Fixes #14022
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/js/statusmanager.js | 11 |
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(); } }); }, |