Reintroduce status check for external storages

Fixes #14022

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2019-02-07 10:15:27 +01:00 committed by Backportbot
parent 8db2f3ec3a
commit b717434f13
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();
}
});
},