Fix val is undefined

This commit is contained in:
yflory
2019-09-24 14:48:52 +02:00
parent 67c8db8b99
commit 5e80efda58
2 changed files with 6 additions and 1 deletions

View File

@@ -741,8 +741,12 @@ define([
cb = cb || function () {};
var sfId = Env.user.userObject.getSFIdFromHref(data.href);
if (sfId) {
var sfData = Env.user.proxy[UserObject.SHARED_FOLDERS][sfId];
setTimeout(function () {
cb(null, Env.user.proxy[UserObject.SHARED_FOLDERS][sfId][data.attr]);
cb(null, {
value: sfData[data.attr],
atime: 1
});
});
return;
}