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 => {