Merge branch 'soon' of github.com:xwiki-labs/cryptpad into soon

pull/1/head
yflory 5 years ago
commit 5a2b36d443

@ -4564,7 +4564,7 @@ define([
onClose: cb onClose: cb
}); });
}; };
if (typeof (deprecated) === "object" && APP.editable) { if (typeof (deprecated) === "object" && APP.editable && Object.keys(deprecated).length) {
Object.keys(deprecated).forEach(function (fId) { Object.keys(deprecated).forEach(function (fId) {
var data = deprecated[fId]; var data = deprecated[fId];
var sfId = manager.user.userObject.getSFIdFromHref(data.href); var sfId = manager.user.userObject.getSFIdFromHref(data.href);

Loading…
Cancel
Save