summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external')
-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();
}
});
},