Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-02-07 13:05:08 +0300
committerGitHub <noreply@github.com>2019-02-07 13:05:08 +0300
commitf36a2b28afa5ce03a393c877861edb1e7b37874f (patch)
tree755499d002cc2337bd6954649c023aeab46cf8fd
parent49e161d1ad9f7de42bdc5addae3fe0b2541d09cf (diff)
parentca9b9865fff56ce113e78c46ad0af8c612b725e3 (diff)
Merge pull request #14076 from nextcloud/bugfix/14022/stable15-not-working-external-storages
[stable15] Make external storages browsable again in the web UI
-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();
}
});
},