diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-02-07 13:05:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-07 13:05:08 +0300 |
commit | f36a2b28afa5ce03a393c877861edb1e7b37874f (patch) | |
tree | 755499d002cc2337bd6954649c023aeab46cf8fd | |
parent | 49e161d1ad9f7de42bdc5addae3fe0b2541d09cf (diff) | |
parent | ca9b9865fff56ce113e78c46ad0af8c612b725e3 (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.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(); } }); }, |