From 52b423e9ba59cd3a9e59e02307bf20e321aceeb6 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 15 Mar 2022 16:20:22 +0530 Subject: [PATCH] remove a temporary comment and a hardcoded translation --- www/admin/inner.js | 2 +- www/common/common-ui-elements.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/www/admin/inner.js b/www/admin/inner.js index d7853c814..5349a49b6 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -331,7 +331,7 @@ define([ }; // Msg.admin_registrationHint, .admin_registrationTitle - create['registration'] = makeAdminCheckbox({ // XXX + create['registration'] = makeAdminCheckbox({ key: 'registration', getState: function () { return APP.instanceStatus.restrictRegistration; diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 154fd1d6e..5661ade7f 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -523,7 +523,6 @@ define([ UI.openCustomModal(modal); }; - Messages.ui_openDirectly = "This functionality is not available when CryptPad is embedded in another site. Open this pad in its own window?";// XXX UIElements.openDirectlyConfirmation = function (common, cb) { cb = cb || Util.noop; UI.confirm(h('p', Messages.ui_openDirectly), yes => {