Fix cyclic object value

pull/1/head
yflory 5 years ago
parent 1f384c2a4a
commit 9e0fb966bf

@ -252,6 +252,9 @@ define([
var obj = Env.folders[el].proxy.metadata || {}; var obj = Env.folders[el].proxy.metadata || {};
if (obj) { key = obj.title; } if (obj) { key = obj.title; }
} else { } else {
try {
el = JSON.parse(JSON.stringify(el));
} catch (e) { return undefined; }
userObject.getFilesRecursively(el, files); userObject.getFilesRecursively(el, files);
} }

Loading…
Cancel
Save