remove // XXX related to translation keys

pull/1/head
David Benqué 5 years ago
parent 67c933622d
commit b20beee2dc

@ -121,7 +121,7 @@ define([
return $div; return $div;
}; };
create['open-files'] = function () { create['open-files'] = function () {
var key = 'open-files'; // XXX var key = 'open-files';
var $div = makeBlock(key); var $div = makeBlock(key);
sFrameChan.query('Q_ADMIN_RPC', { sFrameChan.query('Q_ADMIN_RPC', {
cmd: 'GET_FILE_DESCRIPTOR_COUNT', cmd: 'GET_FILE_DESCRIPTOR_COUNT',

@ -459,7 +459,7 @@ define([
var addPublicKey = function ($container) { var addPublicKey = function ($container) {
if (!APP.readOnly) { return; } if (!APP.readOnly) { return; }
if (!Messages.profile_copyKey) { return; } // XXX if (!Messages.profile_copyKey) { return; }
var $div = $(h('div.cp-sidebarlayout-element')).appendTo($container); var $div = $(h('div.cp-sidebarlayout-element')).appendTo($container);
APP.$edPublic = $('<button>', { APP.$edPublic = $('<button>', {
@ -473,7 +473,7 @@ define([
}; };
var setPublicKeyButton = function (data) { var setPublicKeyButton = function (data) {
if (!data.edPublic || APP.getEdPublic || !APP.readOnly) { return; } if (!data.edPublic || APP.getEdPublic || !APP.readOnly) { return; }
if (!Messages.profile_copyKey) { return; } // XXX if (!Messages.profile_copyKey) { return; }
APP.$edPublic.show(); APP.$edPublic.show();
APP.getEdPublic = function () { APP.getEdPublic = function () {
var metadataMgr = APP.common.getMetadataMgr(); var metadataMgr = APP.common.getMetadataMgr();

Loading…
Cancel
Save