Merge pull request #14078 from nextcloud/backport/14076/master

[master] Make external storages browsable again in the web UI
This commit is contained in:
Morris Jobke 2019-02-07 13:56:47 +01:00 committed by GitHub
commit b69b17f29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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();
}
});
},