From 7cd637624ee5d05213f02959351ee7062bcf51fa Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 11 Jan 2021 20:47:42 +0530 Subject: [PATCH] remove XXX notes --- customize.dist/loading.js | 1 - www/common/drive-ui.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/customize.dist/loading.js b/customize.dist/loading.js index 5d90f37f9..cc19d3544 100644 --- a/customize.dist/loading.js +++ b/customize.dist/loading.js @@ -321,7 +321,6 @@ button:not(.btn).primary:hover{ if (data.type === "offline") { try { isOffline = true; - Messages.offlineError = "OFFLINE MODE NOT AVAILABLE"; // XXX document.querySelector('#cp-loading-message').setAttribute('style', 'display:block;'); document.querySelector('#cp-loading-message').innerText = Messages.offlineError; } catch (e) { console.error(e); } diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index d6679e683..ca44e0164 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4377,7 +4377,7 @@ define([ if (manager.isFolder(el) && !manager.isSharedFolder(el) && !anonDrive) { // Folder // disconnected if (!APP.editable) { - return void UI.warn(Messages.error); // XXX + return void UI.warn(Messages.error); } // if folder is inside SF else if (manager.isInSharedFolder(paths[0].path)) {