diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index f2945a444..d5903732e 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -1517,9 +1517,10 @@ define([ common.alert = function (msg, cb, force) { cb = cb || function () {}; if (force !== true) { msg = fixHTML(msg); } - var keyHandler = listenForKeys(function (e) { // yes + var close = function (e) { findOKButton().click(); - }); + }; + var keyHandler = listenForKeys(close, close); Alertify.alert(msg, function (ev) { cb(ev); stopListening(keyHandler); diff --git a/www/drive/main.js b/www/drive/main.js index da88ee27e..373ee39c1 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -1844,16 +1844,12 @@ define([ if (!filesOp.isFile(el)) { return; } var base = window.location.origin; var $d = $('
'); - $('').text('PROPERTIES').appendTo($d); + $('').text(Messages.fc_prop).appendTo($d); $('
').appendTo($d); - $('
').appendTo($d); - $('