Fix type error

pull/1/head
yflory 4 years ago
parent 11e8fc8669
commit cb240e318f

@ -239,6 +239,9 @@ define([
if (!Env.folders[id]) { return {}; }
var obj = Env.folders[id].proxy.metadata || {};
for (var k in Env.user.proxy[UserObject.SHARED_FOLDERS][id] || {}) {
if (typeof(Env.user.proxy[UserObject.SHARED_FOLDERS][id][k]) === "undefined") {
continue;
}
var data = Util.clone(Env.user.proxy[UserObject.SHARED_FOLDERS][id][k]);
if (k === "href" && data.indexOf('#') === -1) {
try {

Loading…
Cancel
Save