|
|
@ -1796,7 +1796,7 @@ define([
|
|
|
|
if (path.length !== 4) { return; }
|
|
|
|
if (path.length !== 4) { return; }
|
|
|
|
var element = filesOp.getTrashElementData(path);
|
|
|
|
var element = filesOp.getTrashElementData(path);
|
|
|
|
var sPath = stringifyPath(element.path);
|
|
|
|
var sPath = stringifyPath(element.path);
|
|
|
|
Cryptpad.alert('<strong>' + Messages.fm_originalPath + "</strong>:<br>" + sPath);
|
|
|
|
Cryptpad.alert('<strong>' + Messages.fm_originalPath + "</strong>:<br>" + sPath, undefined, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module.hideMenu();
|
|
|
|
module.hideMenu();
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -2058,7 +2058,7 @@ define([
|
|
|
|
$backupButton.attr('title', Messages.fm_backup_title);
|
|
|
|
$backupButton.attr('title', Messages.fm_backup_title);
|
|
|
|
$backupButton.on('click', function() {
|
|
|
|
$backupButton.on('click', function() {
|
|
|
|
var url = window.location.origin + window.location.pathname + '#' + editHash;
|
|
|
|
var url = window.location.origin + window.location.pathname + '#' + editHash;
|
|
|
|
Cryptpad.alert(Messages._getKey('fm_alert_backupUrl', [url]));
|
|
|
|
Cryptpad.alert(Messages._getKey('fm_alert_backupUrl', [url]), undefined, true);
|
|
|
|
$('#fm_backupUrl').val(url);
|
|
|
|
$('#fm_backupUrl').val(url);
|
|
|
|
$('#fm_backupUrl').click(function () {
|
|
|
|
$('#fm_backupUrl').click(function () {
|
|
|
|
$(this).select();
|
|
|
|
$(this).select();
|
|
|
@ -2083,7 +2083,7 @@ define([
|
|
|
|
setEditable(false);
|
|
|
|
setEditable(false);
|
|
|
|
if (APP.refresh) { APP.refresh(); }
|
|
|
|
if (APP.refresh) { APP.refresh(); }
|
|
|
|
APP.toolbar.failed();
|
|
|
|
APP.toolbar.failed();
|
|
|
|
Cryptpad.alert(Messages.common_connectionLost);
|
|
|
|
Cryptpad.alert(Messages.common_connectionLost, undefined, true);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
var onReconnect = function (info) {
|
|
|
|
var onReconnect = function (info) {
|
|
|
|
setEditable(true);
|
|
|
|
setEditable(true);
|
|
|
|