Remove XXX

pull/1/head
yflory 5 years ago
parent dbf94c864e
commit a1f25f2c73

@ -1659,7 +1659,6 @@ define([
if (pathsList.length === 1) { if (pathsList.length === 1) {
msg = Messages.fm_removePermanentlyDialog; msg = Messages.fm_removePermanentlyDialog;
} }
// XXX update key to tell the user that these pads will still be avialble to other users
UI.confirm(msg, function(res) { UI.confirm(msg, function(res) {
$(window).focus(); $(window).focus();
if (!res) { return; } if (!res) { return; }
@ -1730,9 +1729,6 @@ define([
&& $target.parents('#cp-app-drive-content')) { && $target.parents('#cp-app-drive-content')) {
newPath = currentPath; newPath = currentPath;
} }
// XXX Why did we add the following line?
// https://github.com/xwiki-labs/cryptpad/commit/f103a0fb08d137901174ef7e15dbc2c9a2ec3ca1
//if (newPath[0] !== ROOT) { newPath = [ROOT]; }
return newPath; return newPath;
}; };
var onFileDrop = APP.onFileDrop = function (file, e) { var onFileDrop = APP.onFileDrop = function (file, e) {
@ -3311,7 +3307,6 @@ define([
//$list.closest('#cp-app-drive-content-folder').addClass('cp-app-drive-content-list'); //$list.closest('#cp-app-drive-content-folder').addClass('cp-app-drive-content-list');
var filesList = manager.search(value); var filesList = manager.search(value);
if (!filesList.length) { if (!filesList.length) {
Messages.fm_noResult = "No result found"; // XXX
$list.append(h('div.cp-app-drive-search-noresult', Messages.fm_noResult)); $list.append(h('div.cp-app-drive-search-noresult', Messages.fm_noResult));
spinner.hide(); spinner.hide();
return; return;

Loading…
Cancel
Save