replace two XXX notes with comments

pull/1/head
ansuz 4 years ago
parent f178d4bebc
commit 403d922ddd

@ -1925,7 +1925,11 @@ define([
var $name = $('<span>', {'class': 'cp-app-drive-element-name'}).text(name);
$element.append($name);
if (getViewMode() === 'grid') {
$element.attr('title', name); // XXX Util.fixHTML
//console.error(name, Util.fixHTML(name));
// this is only safe because our build of tippy sets titles as
// 'textContent' instead of innerHTML, otherwise
// we would need to use Util.fixHTML
$element.attr('title', name);
}
var type = Messages.fm_link; // XXX new translation key ("Link")

@ -2062,10 +2062,12 @@ define([
// Tell all the owners that the pad was deleted from the server
var curvePublic;
try {
// users in noDrive mode don't have a proxy and
// unregistered users don't have a curvePublic
curvePublic = store.proxy.curvePublic;
} catch (err) {
console.error(err);
return; // XXX anons can't send notifications...
return;
}
m.forEach(function (obj) {
var mb = JSON.parse(obj);

Loading…
Cancel
Save