diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index ce5a76e73..736e08f92 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4564,7 +4564,7 @@ define([ onClose: cb }); }; - if (typeof (deprecated) === "object" && APP.editable) { + if (typeof (deprecated) === "object" && APP.editable && Object.keys(deprecated).length) { Object.keys(deprecated).forEach(function (fId) { var data = deprecated[fId]; var sfId = manager.user.userObject.getSFIdFromHref(data.href);