Ability to open an anonymous read only shared folder

This commit is contained in:
yflory
2019-10-08 18:47:54 +02:00
parent 4e4d01a471
commit 9a0251f4ba
9 changed files with 33 additions and 14 deletions

View File

@@ -164,7 +164,7 @@ define([
var data = {};
userObjects.some(function (uo) {
data = uo.getFileData(id, editable);
if (Object.keys(data).length) { return true; }
if (data && Object.keys(data).length) { return true; }
});
return data;
};