Reintroduce status check for external storages
Fixes #14022 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
8db2f3ec3a
commit
b717434f13
|
@ -288,6 +288,17 @@ OCA.Files_External.StatusManager = {
|
||||||
};
|
};
|
||||||
ajaxQueue.push(queueElement);
|
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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue